SeaBIOS

SeaBIOS Commit Details

Date:2014-05-24 16:40:35 (3 years 7 months ago)
Author:Kevin O'Connor
Branch:1.10-stable, 1.8-stable, 1.9-stable, master
Commit:ca34ce5aaa358f096c5ef968833b32dab90ddcdf
Parents: e9eaaaf6ee0177f9c0b8bb912853834667e1c492
Message:Move most of the VAR16FIXED() defs to misc.c.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Changes:

File differences

src/disk.c
744744
745745
746746
747
748
749
SET_BDA(disk_interrupt_flag, 0xff);
pic_eoi2();
}
// Old Fixed Disk Parameter Table (newer tables are in the ebda).
struct fdpt_s OldFDPT VAR16FIXED(0xe401);
src/hw/floppy.c
5858
5959
6060
61
62
6361
6462
6563
.drive_type = 4, // drive type in cmos
};
struct floppy_dbt_s diskette_param_table VAR16FIXED(0xefc7);
struct floppyinfo_s {
struct chs_s chs;
u8 floppy_size;
src/misc.c
188188
189189
190190
191
192
193
194
195
196
197
198
191199
192200
193201
u8 BiosChecksum VAR16FIXED(0xffff);
struct floppy_dbt_s diskette_param_table VAR16FIXED(0xefc7);
// Old Fixed Disk Parameter Table (newer tables are in the ebda).
struct fdpt_s OldFDPT VAR16FIXED(0xe401);
// XXX - Baud Rate Generator Table
u8 BaudTable[16] VAR16FIXED(0xe729);
// XXX - Initial Interrupt Vector Offsets Loaded by POST
u8 InitVectors[13] VAR16FIXED(0xfef3);
src/romlayout.S
674674
675675
676676
677
677
678678
679679
680680
......
683683
684684
685685
686
686
687687
688688
689689
......
700700
701701
702702
703
703
704704
705705
706706
entry_13_official:
jmp entry_13
// 0xe401 - OldFDPT in disk.c
// 0xe401 - OldFDPT in misc.c
ORG 0xe6f2
.global entry_19_official
// 0xe6f5 - BIOS_CONFIG_TABLE in misc.c
// 0xe729 - BaudTable in serial.c
// 0xe729 - BaudTable in misc.c
ORG 0xe739
IRQ_ENTRY_ARG 14
ORG 0xef57
IRQ_ENTRY 0e
// 0xefc7 - diskette_param_table in floppy.c
// 0xefc7 - diskette_param_table in misc.c
ORG 0xefd2
IRQ_ENTRY_ARG 17
src/serial.c
181181
182182
183183
184
185
186
187184
188185
189186
}
}
// XXX - Baud Rate Generator Table
u8 BaudTable[16] VAR16FIXED(0xe729);
/****************************************************************
* LPT ports
src/util.h
176176
177177
178178
179
179180
180181
181182
// misc.c
extern struct bios_config_table_s BIOS_CONFIG_TABLE __aligned(1);
extern struct floppy_dbt_s diskette_param_table __aligned(1);
extern u8 BiosChecksum;
int in_post(void);
void mathcp_setup(void);

Archive Download the corresponding diff file