blob: 19b61100675ef9b05cceaead34004bf7b0dca0af [file] [log] [blame]
Li-Ta Lo81521262004-07-08 17:18:27 +00001#include <stdio.h>
Stefan Reinauer850e7d42015-09-28 13:12:04 -07002#include "testbios.h"
Li-Ta Lo81521262004-07-08 17:18:27 +00003
Stefan Reinauer850e7d42015-09-28 13:12:04 -07004int intE6_handler(void)
Li-Ta Lo81521262004-07-08 17:18:27 +00005{
6#if 0
7 pciVideoPtr pvp;
8
9 if ((pvp = xf86GetPciInfoForEntity(pInt->entityIndex)))
10 X86_AX = (pvp->bus << 8) | (pvp->device << 3) | (pvp->func & 0x7);
11 pushw(X86_CS);
12 pushw(X86_IP);
13 X86_CS = pInt->BIOSseg;
14 X86_EIP = 0x0003;
15 X86_ES = 0; /* standard pc es */
16#endif
17 printf("intE6 not supported right now.\n");
Stefan Reinauer850e7d42015-09-28 13:12:04 -070018 x86emu_dump_xregs();
Li-Ta Lo81521262004-07-08 17:18:27 +000019 return 1;
20}