MOS Source Code
|
#include <platform.h>
Classes | |
struct | cpu |
Public Attributes | |
u32 | num_cpus |
u32 | boot_cpu_id |
struct mos_platform_info_t::cpu | cpu |
pfn_t | k_basepfn |
ptr_t | k_basevaddr |
mm_context_t * | kernel_mm |
pfn_t | initrd_pfn |
size_t | initrd_npages |
pfn_t | max_pfn |
pmm_region_t | pmm_regions [MOS_MAX_MEMREGIONS] |
size_t | num_pmm_regions |
ptr_t | direct_map_base |
size_t | n_cmdlines |
cmdline_option_t | cmdlines [MOS_MAX_CMDLINE_COUNT] |
platform_arch_info_t | arch_info |
console_t * | boot_console |
Definition at line 109 of file platform.h.
u32 num_cpus |
Definition at line 111 of file platform.h.
Referenced by create_idle_task(), madt_parse_table(), and platform_startup_early().
u32 boot_cpu_id |
Definition at line 112 of file platform.h.
Referenced by platform_startup_late().
struct mos_platform_info_t::cpu cpu |
Referenced by create_idle_task(), and x86_cpu_initialise_caps().
pfn_t k_basepfn |
Definition at line 115 of file platform.h.
Referenced by limine_entry().
ptr_t k_basevaddr |
Definition at line 116 of file platform.h.
Referenced by limine_entry().
mm_context_t* kernel_mm |
Definition at line 118 of file platform.h.
Referenced by mm_create_context(), mm_destroy_context(), mm_dump_current_pagetable(), mos_start_kernel(), platform_ap_entry(), platform_startup_setup_kernel_mm(), process_allocate(), vmap_create(), and x86_paging_setup().
pfn_t initrd_pfn |
Definition at line 120 of file platform.h.
Referenced by initrd_read(), limine_entry(), and mos_start_kernel().
size_t initrd_npages |
Definition at line 121 of file platform.h.
Referenced by initrd_read(), limine_entry(), and mos_start_kernel().
pfn_t max_pfn |
Definition at line 123 of file platform.h.
Referenced by add_to_memmap(), mm_sysfs_init(), platform_startup_setup_kernel_mm(), pmm_init(), and x86_setup_direct_map().
pmm_region_t pmm_regions[MOS_MAX_MEMREGIONS] |
Definition at line 124 of file platform.h.
Referenced by add_to_memmap(), pmm_find_reserved_region(), and pmm_init().
size_t num_pmm_regions |
Definition at line 125 of file platform.h.
Referenced by add_to_memmap(), pmm_find_reserved_region(), and pmm_init().
ptr_t direct_map_base |
Definition at line 127 of file platform.h.
Referenced by limine_entry(), and x86_setup_direct_map().
size_t n_cmdlines |
Definition at line 129 of file platform.h.
Referenced by cmdline_get_option(), mos_cmdline_init(), and mos_start_kernel().
cmdline_option_t cmdlines[MOS_MAX_CMDLINE_COUNT] |
Definition at line 130 of file platform.h.
Referenced by cmdline_get_option(), mos_cmdline_init(), and mos_start_kernel().
platform_arch_info_t arch_info |
Definition at line 132 of file platform.h.
Referenced by limine_entry(), platform_context_clone(), platform_startup_late(), setup_xsave_slab(), and x86_cpu_setup_xsave_area().
console_t* boot_console |
Definition at line 134 of file platform.h.
Referenced by limine_entry(), and mos_start_kernel().