aboutsummaryrefslogtreecommitdiffstats
path: root/src/optionroms.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-09-09 11:34:39 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-09-09 11:34:39 -0400
commit9f985427ffeb877f6eb6531a61c0d51250bdf7f3 (patch)
tree6c4ef72950230409e2a3e4f9de2463894c83458b /src/optionroms.c
parent372e071ed4b6a66fb371cf13b6f6d14ddd00837a (diff)
downloadseabios-9f985427ffeb877f6eb6531a61c0d51250bdf7f3.tar.gz
Replace common segment/offset pairs with struct segoff_s.
Introduce 'struct segoff_s' to more places.
Diffstat (limited to 'src/optionroms.c')
-rw-r--r--src/optionroms.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/optionroms.c b/src/optionroms.c
index 0a5d85c1..cd8f9d1a 100644
--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -92,8 +92,7 @@ __callrom(struct rom_header *rom, u16 offset, u16 bdf)
br.dx = 0xffff;
br.es = SEG_BIOS;
br.di = get_pnp_offset();
- br.cs = seg;
- br.ip = offset;
+ br.code = SEGOFF(seg, offset);
call16big(&br);
debug_serial_setup();