/DragonOS-0.1.3/kernel/src/driver/pci/ |
D | pci.h | 27 uint16_t msix_table_size; // msix表的表项数量 34 uint16_t Vendor_ID; // 供应商ID 0xffff是一个无效值,在读取访问不存在的设备的配置空间寄存器时返回 35 uint16_t Device_ID; // 设备ID,标志特定设备 37 uint16_t Command; // 提供对设备生成和响应pci周期的能力的控制 向该寄存器写入0时,设备与pci总线断开除配置空间访问以外的所有连接 38 uint16_t Status; // 用于记录pci总线相关时间的状态信息寄存器 70 uint16_t Subsystem_Vendor_ID; 71 uint16_t Subsystem_ID; 77 uint16_t reserved1; 105 uint16_t Secondary_Status; 107 uint16_t Memory_Base; [all …]
|
D | msi.h | 39 uint16_t msg_ctrl; 44 uint16_t msg_data; 45 uint16_t Rsvd; 59 uint16_t msg_ctrl; 73 uint16_t irq_num; // 中断向量号 74 uint16_t processor; // 定向投递的处理器 75 uint16_t edge_trigger; // 是否边缘触发 76 uint16_t assert; // 是否高电平触发 79 uint16_t msi_index; // msi描述符的index
|
/DragonOS-0.1.3/kernel/src/driver/multiboot2/ |
D | multiboot2.h | 122 uint16_t type; 123 uint16_t flags; 128 uint16_t type; 129 uint16_t flags; 136 uint16_t type; 137 uint16_t flags; 148 uint16_t type; 149 uint16_t flags; 157 uint16_t type; 158 uint16_t flags; [all …]
|
/DragonOS-0.1.3/kernel/src/filesystem/fat32/ |
D | fat32.h | 29 uint16_t BPB_BytesPerSec; // 每扇区字节数 31 uint16_t BPB_RsvdSecCnt; // 保留扇区数 33 uint16_t BPB_RootEntCnt; // 根目录文件数最大值 34 uint16_t BPB_TotSec16; // 16位扇区总数 36 uint16_t BPB_FATSz16; // FAT12/16每FAT扇区数 37 uint16_t BPB_SecPerTrk; // 每磁道扇区数 38 uint16_t BPB_NumHeads; // 磁头数 43 uint16_t BPB_ExtFlags; // 扩展标志 44 uint16_t BPB_FSVer; // 文件系统版本号 46 uint16_t BPB_FSInfo; // FS info结构体的扇区号 [all …]
|
/DragonOS-0.1.3/kernel/src/libs/libUI/ |
D | textui.h | 128 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id); 130 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count); 141 …tui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, uint16_t… 152 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin… 162 int textui_putchar(uint16_t character, uint32_t FRcolor, uint32_t BKcolor); 169 uint16_t __textui_get_actual_lines();
|
D | textui-render.c | 22 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… 31 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id) in textui_refresh_vline() 39 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count) in textui_refresh_vlines() 73 …tui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, uint16_t… in textui_refresh_characters() 110 static void __textui_render_chromatic(uint16_t actual_line, uint16_t index, struct textui_char_chro… in __textui_render_chromatic()
|
D | textui.c | 33 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window() 34 uint16_t cperline) in __textui_init_window() 113 uint16_t __textui_get_actual_lines() in __textui_get_actual_lines() 135 static int __textui_new_line(struct textui_window_t *window, uint16_t vline_id) in __textui_new_line() 171 static int __textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRc… in __textui_putchar_window() 208 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin… in textui_putchar_window() 241 uint16_t tmp = window->vlines.chromatic[window->vline_operating].index; in textui_putchar_window() 290 int textui_putchar(uint16_t character, uint32_t FRcolor, uint32_t BKcolor) in textui_putchar() 327 uint16_t chars_per_vline = textui_framework.buf->width / TEXTUI_CHAR_WIDTH; in textui_init() 328 uint16_t total_vlines = textui_framework.buf->height / TEXTUI_CHAR_HEIGHT; in textui_init()
|
D | screen_manager.h | 45 uint16_t id;
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | crc16.c | 8 uint16_t const crc16_table[256] = { 34 uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len) in crc16()
|
/DragonOS-0.1.3/kernel/src/driver/uart/ |
D | uart.h | 15 extern int c_uart_init(uint16_t port, uint32_t baud_rate); 16 extern void c_uart_send(uint16_t port, char c); 17 extern void c_uart_send_str(uint16_t port, const char *str);
|
/DragonOS-0.1.3/kernel/src/common/math/ |
D | libm.h | 13 uint16_t se; 24 uint16_t top; 25 uint16_t se; 39 uint16_t se; 40 uint16_t top;
|
/DragonOS-0.1.3/user/libs/libc/src/include/ |
D | libm.h | 17 uint16_t se; 28 uint16_t top; 29 uint16_t se; 43 uint16_t se; 44 uint16_t top;
|
/DragonOS-0.1.3/docs/kernel/filesystem/fat32/ |
D | index.md | 22 uint16_t BPB_BytesPerSec; // 每扇区字节数 24 uint16_t BPB_RsvdSecCnt; // 保留扇区数 26 uint16_t BPB_RootEntCnt; // 根目录文件数最大值 27 uint16_t BPB_TotSec16; // 16位扇区总数 29 uint16_t BPB_FATSz16; // FAT12/16每FAT扇区数 30 uint16_t BPB_SecPerTrk; // 每磁道扇区数 31 uint16_t BPB_NumHeads; // 磁头数 36 uint16_t BPB_ExtFlags; // 扩展标志 37 uint16_t BPB_FSVer; // 文件系统版本号 39 uint16_t BPB_FSInfo; // FS info结构体的扇区号 [all …]
|
/DragonOS-0.1.3/kernel/src/driver/usb/ |
D | usb.h | 43 uint16_t usb_version; 49 uint16_t vendor_id; 50 uint16_t product_id; 51 uint16_t device_rel; 67 uint16_t total_len; /* 130 uint16_t max_packet; 145 uint16_t value; 147 uint16_t index; 148 uint16_t length; 296 uint16_t bcdHID; // 标识HIDClass规范版本的数字表达式。 [all …]
|
/DragonOS-0.1.3/kernel/src/common/ |
D | crc16.h | 12 uint16_t crc16(uint16_t crc, const uint8_t *buffer, size_t len);
|
D | blk_types.h | 73 uint16_t bd_partno; // 在磁盘上的分区号 86 uint16_t part_cnt; // 磁盘分区计数 87 uint16_t flags;
|
D | compiler_attributes.h | 21 typedef uint16_t __attribute__((__may_alias__)) __u16_alias_t;
|
/DragonOS-0.1.3/kernel/src/filesystem/ |
D | MBR.h | 26 uint16_t starting_sector : 6, // 起始扇区号 31 uint16_t ending_sector : 6, // 结束扇区号 47 uint16_t BS_TrailSig;
|
/DragonOS-0.1.3/kernel/src/filesystem/devfs/ |
D | devfs.h | 20 int devfs_register_device(uint16_t device_type, uint16_t sub_type, struct vfs_file_operations_t *fi…
|
D | devfs-types.h | 42 uint16_t type; // 设备主类型 43 uint16_t sub_type; // 设备子类型
|
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.h | 74 uint16_t u2_device_exit_latency; // 0~2047ms 94 uint16_t xECP; // xhci extended capabilities pointer 157 uint16_t page_size; // The actual pagesize is ((this field)<<12) 158 uint16_t reserved; 163 uint16_t value; 164 uint16_t reserved; 224 uint16_t Reserved; // 保留且置为0 231 uint16_t wValue; 233 uint16_t wIndex; 234 uint16_t wLength; [all …]
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/include/asm/ |
D | cmpxchg.h | 41 volatile uint16_t *__ptr = (volatile uint16_t *)(_ptr); \
|
/DragonOS-0.1.3/kernel/src/driver/acpi/ |
D | acpi.h | 86 uint16_t pci_vendor_id; // PCI Vendor ID of 1st Timer Block 95 …uint16_t minimum_tick; // The minimum clock ticks can be set without lost interrupts while the cou…
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | gate.h | 35 uint16_t size; 41 uint16_t size;
|
/DragonOS-0.1.3/user/libs/libc/src/include/sys/ |
D | types.h | 28 typedef uint16_t mode_t;
|