summaryrefslogtreecommitdiff
path: root/memdisk/start32.S
Commit message (Collapse)AuthorAgeFilesLines
* memdisk: additional cleanupsH. Peter Anvin2009-06-071-0/+8
| | | | | | | | | | | | Additional stylistic cleanups. Rename "syscall" to "intcall" (we can't call it __intcall without clashing with com32.h); use macros instead of copying variables to different places with only the type being different. Also, only change the rm/pm jump instructions when actually relocating the code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: move rm_args initialization to C code; export rm_sizeH. Peter Anvin2009-06-071-14/+3
| | | | | | | | Move the rm_args initialization (and the associated sti) to C code. Export the total size of the real-mode code to the protected-mode code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: remove hard-coded assumptions for a specific RM segmentH. Peter Anvin2009-06-071-1/+76
| | | | | | | | | | Remove some hard-coded assumptions about having an RM segment at a specific location. This should allow us to relocate the RM code once the PM code knows where DOS free memory ends. This in turn allows the PM code to load the boot sector almost anywhere it wants to go in low memory, as is required for 100% compliant El Torito support. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Global whitespace cleanup.H. Peter Anvin2009-04-201-1/+1
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Update copyright notices; add Intel notices where appropriateH. Peter Anvin2009-04-041-4/+17
| | | | | | | Update copyright notices. Per agreement with my new employer, Intel Corporation, add Intel copyright notices where appropriate. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: zero the .bss sectionH. Peter Anvin2009-03-161-1/+9
| | | | | It is just too confusing to have a .bss section that isn't zeroed, to explicitly zero it.
* Remove more CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* 32-bit entrypoint codehpa2003-04-151-0/+9