Move most of ATA and CDEMU from ebda to global variables.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 29 Dec 2008 04:18:57 +0000 (23:18 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 29 Dec 2008 04:18:57 +0000 (23:18 -0500)
commit609da236ef0d7f81806bc35ae5f67bf7a0e23df1
treebc4daf25a68c1b1f4613c4d52610d2146eb6289c
parente79163695a2518ad2e87cb75b80c9e7deb2972b1
Move most of ATA and CDEMU from ebda to global variables.

The dpte, cdrom locks, and disk sector count remain in the ebda.
Also, enhance SET_GLOBAL macro to avoid unused variable warnings.
src/ata.c
src/biosvar.h
src/boot.c
src/cdrom.c
src/disk.c
src/disk.h