diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-07-08 17:18:27 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-07-08 17:18:27 +0000 |
commit | 815212652994a43d3e05dc864343b722b70a129d (patch) | |
tree | c4f0d5c97b4c175f40889e126b816a5d7036151d /util/vgabios/inte6.c | |
parent | 4c5060dc2bf8f944c54361f7913d20d02fff65a0 (diff) |
added testbios for V2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/inte6.c')
-rw-r--r-- | util/vgabios/inte6.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/util/vgabios/inte6.c b/util/vgabios/inte6.c new file mode 100644 index 0000000000..0f6a578ac0 --- /dev/null +++ b/util/vgabios/inte6.c @@ -0,0 +1,18 @@ +#include <stdio.h> + +int intE6_handler() +{ +#if 0 + pciVideoPtr pvp; + + if ((pvp = xf86GetPciInfoForEntity(pInt->entityIndex))) + X86_AX = (pvp->bus << 8) | (pvp->device << 3) | (pvp->func & 0x7); + pushw(X86_CS); + pushw(X86_IP); + X86_CS = pInt->BIOSseg; + X86_EIP = 0x0003; + X86_ES = 0; /* standard pc es */ +#endif + printf("intE6 not supported right now.\n"); + return 1; +} |