Go to the source code of this file.
◆ LOADER_ARG_CNT
Number of args.
Definition at line 19 of file loader.h.
◆ LOADER_ARG_CNT_LEN
#define LOADER_ARG_CNT_LEN 4 |
◆ LOADER_ARGS
Command-line args.
Definition at line 18 of file loader.h.
◆ LOADER_ARGS_LEN
#define LOADER_ARGS_LEN 128 |
◆ LOADER_BASE
#define LOADER_BASE 0x7c00 |
Constants fixed by the PC BIOS.
Physical address of loader's base.
Definition at line 5 of file loader.h.
◆ LOADER_END
#define LOADER_END 0x7e00 |
Physical address of end of loader.
Definition at line 6 of file loader.h.
◆ LOADER_KERN_BASE
#define LOADER_KERN_BASE 0x20000 |
Physical address of kernel base.
128 kB.
Definition at line 9 of file loader.h.
◆ LOADER_PARTS
Partition table.
Definition at line 17 of file loader.h.
◆ LOADER_PARTS_LEN
#define LOADER_PARTS_LEN 64 |
◆ LOADER_PHYS_BASE
#define LOADER_PHYS_BASE 0xc0000000 |
Kernel virtual address at which all physical memory is mapped.
Must be aligned on a 4 MB boundary. 3 GB.
Definition at line 13 of file loader.h.
◆ LOADER_SIG
Important loader physical addresses.
0xaa55 BIOS signature.
Definition at line 16 of file loader.h.
◆ LOADER_SIG_LEN
Sizes of loader data structures.
Definition at line 22 of file loader.h.
◆ SEL_KCSEG
Kernel code selector.
Definition at line 30 of file loader.h.
◆ SEL_KDSEG
Kernel data selector.
Definition at line 31 of file loader.h.
◆ SEL_NULL
GDT selectors defined by loader.
More selectors are defined by userprog/gdt.h. Null selector.
Definition at line 29 of file loader.h.
◆ init_ram_pages