From 815212652994a43d3e05dc864343b722b70a129d Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Thu, 8 Jul 2004 17:18:27 +0000 Subject: added testbios for V2 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/vgabios/inte6.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 util/vgabios/inte6.c (limited to 'util/vgabios/inte6.c') 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 + +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; +} -- cgit v1.2.3