Li-Ta Lo | 8152126 | 2004-07-08 17:18:27 +0000 | [diff] [blame] | 1 | #include <stdio.h> |
Stefan Reinauer | 850e7d4 | 2015-09-28 13:12:04 -0700 | [diff] [blame] | 2 | #include "testbios.h" |
Li-Ta Lo | 8152126 | 2004-07-08 17:18:27 +0000 | [diff] [blame] | 3 | |
Stefan Reinauer | 850e7d4 | 2015-09-28 13:12:04 -0700 | [diff] [blame] | 4 | int intE6_handler(void) |
Li-Ta Lo | 8152126 | 2004-07-08 17:18:27 +0000 | [diff] [blame] | 5 | { |
| 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 Reinauer | 850e7d4 | 2015-09-28 13:12:04 -0700 | [diff] [blame] | 18 | x86emu_dump_xregs(); |
Li-Ta Lo | 8152126 | 2004-07-08 17:18:27 +0000 | [diff] [blame] | 19 | return 1; |
| 20 | } |