task.h 319 B

123456789101112131415161718
  1. #pragma once
  2. #include <types/types.h>
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. struct tss32_t {
  7. uint32_t backlink, esp0, ss0, esp1, ss1, esp2, ss2, cr3;
  8. uint32_t eip, eflags, eax, ecx, edx, ebx, esp, ebp, esi, edi;
  9. uint32_t es, cs, ss, ds, fs, gs;
  10. uint32_t ldtr, iomap;
  11. };
  12. #ifdef __cplusplus
  13. }
  14. #endif