commit | 28fc72a743d645d91758d34d0123bd2fd7e5f338 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 17 12:12:31 2008 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 17 12:12:31 2008 -0400 |
tree | 478fc16e780739ec31f79e7bda566583cc321970 | |
parent | 020c47641e0a191e90da448e97322ab322594a02 [diff] |
Set bx/dx to 0xffff on option rom call. Also improve comments in option rom call slightly.
diff --git a/src/post.c b/src/post.c index 54b273f..ce30b9b 100644 --- a/src/post.c +++ b/src/post.c
@@ -210,8 +210,10 @@ { struct bregs br; memset(&br, 0, sizeof(br)); + // XXX - should set br.ax to PCI Bus/DevFn + br.bx = 0xffff; + br.dx = 0xffff; br.es = SEG_BIOS; - // starts 1 past for alignment extern char pnp_string[]; br.di = (u32)pnp_string - BUILD_BIOS_ADDR; br.cs = seg;