Leaked source code of windows server 2003
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.

38 lines
881 B

  1. typedef struct _IA32_BIOS_REGISTER_STATE {
  2. // general registers
  3. ULONG eax;
  4. ULONG ecx;
  5. ULONG edx;
  6. ULONG ebx;
  7. ULONG esp;
  8. // stack registers
  9. ULONG ebp;
  10. ULONG esi;
  11. ULONG edi;
  12. // eflags
  13. ULONG efalgs;
  14. // instruction pointer
  15. ULONG cs;
  16. ULONG ds;
  17. ULONG es;
  18. ULONG fs;
  19. ULONG gs;
  20. ULONG ss;
  21. // LDT/GDT table pointer and LDT selector
  22. ULONGLONG *LDTTable; // 64 bit pointer to LDT table
  23. ULONGLONG *GDTTable; // 64 bit pointer to GDT table
  24. ULONG ldt_selector;
  25. } IA32_BIOS_REGISTER_STATE, *PIA32_BIOS_REGISTER_STATE;
  26. typedef union _BIT32_AND_BIT16 {
  27. ULONG Part32;
  28. struct {
  29. USHORT LowPart16;
  30. USHORT HighPart16;
  31. };
  32. } BIT32_AND_BIT16;