- Dec 27, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
It's as arch-specific as they come.
-
- Dec 26, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
Doesn't really affect anything, but it is cleaner.
-
Avi Kivity authored
-
Avi Kivity authored
This lets use _attribute__((init_priority)) to control static constructor order, useful for configuring interdependent global services.
-
- Dec 25, 2012
-
-
Avi Kivity authored
-
- Dec 24, 2012
-
-
Avi Kivity authored
Previously, the boot code assumed (by omission) that memory is initialized to zero. Apparently that is not the case, and this caused memory to become corrupted. Initialize .bss to zero to fix.
-
Dor Laor authored
-
Dor Laor authored
-
- Dec 23, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
Not strictly needed, but better to know exacly where things end up.
-
Avi Kivity authored
We need the headers so we can provide the symbols to loaded libraries. This means we cannot use objcopy to munge the binary format to elf32-i386, as the loader doesn't understand this format. Instead, add a separate 32-bit only stage (in elf32-i386 format) that loads the 64-bit image into memory as its payload. This keeps multiboot happy and leave our headers alone.
-
Avi Kivity authored
Change the starting program counter to 0x201000 instead of 0; this allows the ELF header to be present in the loaded image, and used for linking.
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
0x20000 will overflow into the 640k hole
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Set up 32-bit entry point via linker script.
-