mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 19:21:40 +00:00
18 lines
378 B
C#
18 lines
378 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Cosmos.Kernel.Boot.Glue {
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct IDTEntryStruct {
|
|
public ushort BaseLow;
|
|
public ushort Sel;
|
|
public byte AlwaysZero;
|
|
public byte Flags;
|
|
public ushort BaseHi;
|
|
}
|
|
|
|
public enum IDTFlagsEnum: byte {
|
|
NotPresent = 0xE,
|
|
Present = 0x5E
|
|
}
|
|
}
|