Home
last modified time | relevance | path

Searched refs:_iter_data (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.3/kernel/src/driver/multiboot2/
Dmultiboot2.c58 bool multiboot2_get_memory(const struct iter_data_t *_iter_data, void *data, unsigned int *count) in multiboot2_get_memory() argument
60 if (_iter_data->type != MULTIBOOT_TAG_TYPE_MMAP) in multiboot2_get_memory()
64 struct multiboot_mmap_entry_t *mmap = ((struct multiboot_tag_mmap_t *)_iter_data)->entries; in multiboot2_get_memory()
66 for (; (uint8_t *)mmap < (uint8_t *)_iter_data + _iter_data->size; in multiboot2_get_memory()
67 …ltiboot_mmap_entry_t *)((uint8_t *)mmap + ((struct multiboot_tag_mmap_t *)_iter_data)->entry_size)) in multiboot2_get_memory()
71 …oot_mmap_entry_t *)((uint8_t *)resource + ((struct multiboot_tag_mmap_t *)_iter_data)->entry_size); in multiboot2_get_memory()
83 bool multiboot2_get_VBE_info(const struct iter_data_t *_iter_data, void *data, unsigned int *reserv… in multiboot2_get_VBE_info() argument
86 if (_iter_data->type != MULTIBOOT_TAG_TYPE_VBE) in multiboot2_get_VBE_info()
88 *(struct multiboot_tag_vbe_t *)data = *(struct multiboot_tag_vbe_t *)_iter_data; in multiboot2_get_VBE_info()
98 bool multiboot2_get_Framebuffer_info(const struct iter_data_t *_iter_data, void *data, unsigned int… in multiboot2_get_Framebuffer_info() argument
[all …]
Dmultiboot2.h438 bool multiboot2_get_memory(const struct iter_data_t *_iter_data, void *_data, unsigned int *count);
446 bool multiboot2_get_VBE_info(const struct iter_data_t *_iter_data, void *_data, unsigned int *reser…
454 bool multiboot2_get_Framebuffer_info(const struct iter_data_t *_iter_data, void *_data, unsigned in…
464 bool multiboot2_get_acpi_old_RSDP(const struct iter_data_t *_iter_data, void *data, unsigned int *r…
474 bool multiboot2_get_acpi_new_RSDP(const struct iter_data_t *_iter_data, void *data, unsigned int *r…
/DragonOS-0.1.3/kernel/src/driver/acpi/
Dacpi.c79 bool acpi_get_MADT(const struct acpi_system_description_table_header_t *_iter_data, void *_data) in acpi_get_MADT() argument
81 …if (!(_iter_data->Signature[0] == 'A' && _iter_data->Signature[1] == 'P' && _iter_data->Signature[… in acpi_get_MADT()
85 *(ul *)_data = (ul)_iter_data; in acpi_get_MADT()
86 acpi_madt_vaddr = (ul)_iter_data; in acpi_get_MADT()
98 bool acpi_get_HPET(const struct acpi_system_description_table_header_t *_iter_data, void *_data) in acpi_get_HPET() argument
100 …if (!(_iter_data->Signature[0] == 'H' && _iter_data->Signature[1] == 'P' && _iter_data->Signature[… in acpi_get_HPET()
102 *(ul *)_data = (ul)_iter_data; in acpi_get_HPET()
Dacpi.h184 bool acpi_get_MADT(const struct acpi_system_description_table_header_t *_iter_data, void *_data);
194 bool acpi_get_HPET(const struct acpi_system_description_table_header_t *_iter_data, void *_data);