summaryrefslogtreecommitdiff
path: root/util/vgabios/inte6.c
blob: 19b61100675ef9b05cceaead34004bf7b0dca0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>
#include "testbios.h"

int intE6_handler(void)
{
#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");
	x86emu_dump_xregs();
	return 1;
}