diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-01-17 18:49:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-01-17 18:49:20 -0500 |
commit | 308537650feeabcd953283e828cf7f51495c11c5 (patch) | |
tree | c4cfb8b1e44679ac41abe68e25071a549a41c329 /src/disk.c | |
parent | 095e89bc0b9238ae88383484ca006a3e7af873ad (diff) | |
download | seabios-hppa-308537650feeabcd953283e828cf7f51495c11c5.zip seabios-hppa-308537650feeabcd953283e828cf7f51495c11c5.tar.gz seabios-hppa-308537650feeabcd953283e828cf7f51495c11c5.tar.bz2 |
Move variables from assembler to C code.
Define macro VAR16FIXED for declaring a variable at a fixed location.
Introduce new file src/misc.c, and move non int15 calls from system.c
to it.
Implement all fixed location variables in C code.
Move IDT/GDT defs to misc.c. Remove unused gdt entry 1.
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -712,3 +712,6 @@ handle_76() SET_BDA(disk_interrupt_flag, 0xff); eoi_pic2(); } + +// Old Fixed Disk Parameter Table (newer tables are in the ebda). +struct fdpt_s OldFDPT VAR16FIXED(0xe401); |