/DragonOS-0.1.7/kernel/src/common/ |
D | list.h | 201 #define list_for_each(ptr, head) \ argument 202 for ((ptr) = (head)->next; (ptr) != (head); (ptr) = (ptr)->next) 210 #define list_for_each_prev(ptr, head) \ argument 211 for ((ptr) = (head)->prev; (ptr) != (head); (ptr) = (ptr)->prev) 221 #define list_for_each_safe(ptr, n, head) \ argument 222 for ((ptr) = (head)->next, (n) = (ptr)->next; (ptr) != (head); (ptr) = n, n = (ptr)->next) 232 #define list_for_each_prev_safe(ptr, n, head) \ argument 233 for ((ptr) = (head)->prev, (n) = (ptr)->prev; (ptr) != (head); (ptr) = n, n = (ptr)->prev) 242 #define list_for_each_entry(pos, head, member) \ argument 243 for (pos = list_first_entry(head, typeof(*pos), member); \ [all …]
|
/DragonOS-0.1.7/kernel/src/ |
D | Makefile | 17 LD_LIST := head.o 24 head.o: head.S 25 $(CC) -E head.S > _head.s # 预处理 26 $(AS) $(ASFLAGS) -o head.o _head.s 41 …$(LD) -b elf64-x86-64 -z muldefs -o kernel head.o main.o $(shell find . -name "*.o") ../target/x86… 58 …$(LD) -b elf64-x86-64 -z muldefs -o kernel head.o main.o $(shell find . -name "*.o") ../target/x86… 71 kernel: head.o main.o $(kernel_subdirs) kernel_rust
|
D | link.lds | 16 head.o(.bootstrap) 17 head.o(.bootstrap.code64) 18 head.o(.bootstrap.data)
|
/DragonOS-0.1.7/docs/kernel/core_api/ |
D | kernel_api.md | 217 ### `list_for_each(ptr, head)` 229 **head** 233 ### `list_for_each_prev(ptr, head)` argument 244 ### `list_for_each_safe(ptr, n, head)` argument 262 **head** 266 ### `list_for_each_prev_safe(ptr, n, head)` argument 279 ### `list_for_each_entry(pos, head, member)` 291 **head** argument 299 ### `list_for_each_entry_reverse(pos, head, member)` 309 ### `list_for_each_entry_safe(pos, n, head, member)` argument [all …]
|
/DragonOS-0.1.7/kernel/src/driver/acpi/ |
D | acpi.rs | 18 head: NonNull<acpi_system_description_table_header_t>, in mcfg_find_segment() 20 let table_length = unsafe { (*head.as_ptr()).Length }; in mcfg_find_segment() 23 (head.as_ptr() as usize + 44) as *mut _, in mcfg_find_segment()
|
/DragonOS-0.1.7/kernel/src/arch/x86_64/pci/ |
D | pci.rs | 55 let head = NonNull::new(data as *mut acpi_system_description_table_header_t).unwrap(); in ecam_root() localVariable 56 let outcome = unsafe { mcfg_find_segment(head).as_ref() }; in ecam_root()
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | rbtree.rs | 604 head: NodePtr<K, V>, field 625 if self.head.is_null() { in next() 629 let next = self.head.next(); in next() 632 core::ptr::read(&(*self.head.0).key), in next() 633 core::ptr::read(&(*self.head.0).value), in next() 636 self.head = next; in next() 683 head: NodePtr<K, V>, field 692 head: self.head, in clone() 708 if self.head.is_null() { in next() 712 let (k, v) = unsafe { (&(*self.head.0).key, &(*self.head.0).value) }; in next() [all …]
|
/DragonOS-0.1.7/user/apps/about/ |
D | Makefile | 2 GIT_COMMIT_SHA1=$(shell git log -n 1 | head -n 1 | cut -d ' ' -f 2 | cut -c1-8)
|
/DragonOS-0.1.7/docs/kernel/boot/ |
D | bootloader.md | 7   在`head.S`的头部包含了Multiboot2引导头,里面标志了一些Multiboot2相关的特定信息,以及一些配置命令。
|
/DragonOS-0.1.7/docs/kernel/sched/ |
D | c_waiting.md | 120 | wait_queue_sleep_with_node(wait_queue_head_t *head, wait_queue_node_t *wait_node) | …
|
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | errno.md | 101 … #define ENODATA 43 /* 队列头没有可读取的消息 No message is available on the STREAM head read queue.*/
|