2004-07-08 19:18:27 +02:00
|
|
|
#include <stdio.h>
|
2015-09-28 22:12:04 +02:00
|
|
|
#include "testbios.h"
|
2004-07-08 19:18:27 +02:00
|
|
|
|
2015-09-28 22:12:04 +02:00
|
|
|
int intE6_handler(void)
|
2004-07-08 19:18:27 +02:00
|
|
|
{
|
|
|
|
#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");
|
2015-09-28 22:12:04 +02:00
|
|
|
x86emu_dump_xregs();
|
2004-07-08 19:18:27 +02:00
|
|
|
return 1;
|
|
|
|
}
|