|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include <type.h>Go to the source code of this file.
Macros | |
| #define | ALIGN_UP(x, align) |
| #define | ALIGN_DOWN(x, align) |
| #define | PHYS2VIRT(x) |
| #define | VIRT2PHYS(x) |
| #define | PTR_ADD(ptr, off) |
| #define | ASSUME_ALIGNED(ptr, align) |
| #define ALIGN_DOWN | ( | x, | |
| align ) |
Definition at line 9 of file memory_utils.h.
Referenced by acpi_map_phys_page(), elf_load(), elf_mmap_got(), syscall_mprotect(), and vxPCIGatheringBusInfo().
| #define ALIGN_UP | ( | x, | |
| align ) |
Definition at line 6 of file memory_utils.h.
Referenced by __attribute__(), elf_count_load_size(), elf_mmap_got(), execve(), INIT(), proccess_elf(), VirtioGpu::setup(), syscall_brk(), syscall_mmap(), syscall_mprotect(), VirtioGpu::virtq_init(), and vxCreateSlabCache().
| #define ASSUME_ALIGNED | ( | ptr, | |
| align ) |
Definition at line 16 of file memory_utils.h.
Referenced by elf_count_load_size(), elf_dyn_map_all(), elf_find_base_addr(), elf_get_entry(), elf_get_phdr_dynamic(), elf_gnu_hash_parse(), elf_load(), and elf_section_map_all().
| #define PHYS2VIRT | ( | x | ) |
Definition at line 11 of file memory_utils.h.
Referenced by vaddr_to_paddr().
| #define PTR_ADD | ( | ptr, | |
| off ) |
Definition at line 14 of file memory_utils.h.
Referenced by elf_dyn_map_all(), elf_find_base_addr(), elf_get_phdr_dynamic(), and put_pixel_alpha().
| #define VIRT2PHYS | ( | x | ) |
Definition at line 12 of file memory_utils.h.
Referenced by __attribute__(), build_context_from_stivale2(), and INIT().