Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
861 B

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. dpmiint.h
  5. Abstract:
  6. This is the private include file for the 32 bit dpmi and protected mode
  7. support
  8. Author:
  9. Neil Sandlin (neilsa) 31-Jul-1995
  10. Revision History:
  11. --*/
  12. #ifndef _X86_
  13. GETREGISTERFUNCTION GetRegisterByIndex[8] = {getEAX, getECX, getEDX, getECX,
  14. getESP, getEBP, getESI, getEDI};
  15. SETREGISTERFUNCTION SetRegisterByIndex[8] = {setEAX, setECX, setEDX, setECX,
  16. setESP, setEBP, setESI, setEDI};
  17. #endif // _X86_
  18. #define STACK_FAULT 12
  19. VOID
  20. DpmiFatalExceptionHandler(
  21. UCHAR XNumber,
  22. PCHAR VdmStackPointer
  23. );
  24. BOOL
  25. DpmiFaultHandler(
  26. ULONG IntNumber,
  27. ULONG ErrorCode
  28. );
  29. BOOL
  30. DpmiEmulateInstruction(
  31. VOID
  32. );
  33. BOOL
  34. DpmiOp0f(
  35. PUCHAR pCode
  36. );