text: /*
   * Copyright (c) 2021, Dylan Cleaver <dylancleaver@yahoo.com>
   *
   * SPDX-License-Identifier: BSD-2-Clause
   */
  
  #ifndef TSS_H
  #define TSS_H
  
  struct tss64_entry
  {
      uint32_t reserved0;
      uint32_t rsp0_l;
      uint32_t rsp0_h;
      uint32_t rsp1_l;
      uint32_t rsp1_h;
      uint32_t rsp2_l;
      uint32_t rsp2_h;
      uint64_t reserved1;
      uint32_t ist1_l;
      uint32_t ist1_h;
      uint32_t ist2_l;
      uint32_t ist2_h;
      uint32_t ist3_l;
      uint32_t ist3_h;
      uint32_t ist4_l;
      uint32_t ist4_h;
      uint32_t ist5_l;
      uint32_t ist5_h;
      uint32_t ist6_l;
      uint32_t ist6_h;
      uint32_t ist7_l;
      uint32_t ist7_h;
      uint64_t reserved2;
      uint16_t reserved3;
      uint16_t iobp_offset;
  } __attribute__((packed));
  
  #endif
  