What are the best X86 and X64 memory locations for booting an OS from the Programmable ROM? #101126
Unanswered
WorldsDumbestCoder
asked this question in
Programming Help
Replies: 1 comment 1 reply
-
The choice of "best" memory locations depends on various factors. However, the configuration mentioned, with the bootloader in Programmable ROM (0xFFFFFFF0) and the kernel in RAM (0x00000000-0x3FFFFFFF), is a common and practical setup for X86 systems. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What are the best X86 and X64 memory locations for booting an OS from the Programmable ROM?
Here is how the OS will work:
Use org to set the memory addresses for where the bootloader and kernel should be stored.
Allocate bytes.
Jump to those memory locations.
Kernel will be stored into RAM.
Bootloader will be stored into ROM.
X86 memory locations:
Kernel:
RAM:
0x00000000
-0xFFFFFFFF (4GB)
0x00000000
-0x3FFFFFFF
(1GB) due to reserved addresses for system devices and BIOSBootloader:
PROM:
0xFFFFFFF0
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions