memdisk: additional cleanups
authorH. Peter Anvin <hpa@zytor.com>
Mon, 8 Jun 2009 03:59:52 +0000 (20:59 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Jun 2009 03:59:52 +0000 (20:59 -0700)
commit69bb4b204e8d29c89597961e94807d1acba2cd4b
tree143b21d9e0956d443165ac97ab8ba410f1b4cd97
parent1e4de8c54d7e007cf6002a87658f3d03c796bfc6
memdisk: additional cleanups

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/conio.c
memdisk/memdisk.h
memdisk/memdisk16.asm
memdisk/msetup.c
memdisk/setup.c
memdisk/start32.S