rk/include/gdt.h

10 lines
166 B
C
Raw Normal View History

#ifndef RK_GDT_H_
#define RK_GDT_H_
2024-05-21 22:07:04 -04:00
#define GDT_NULL 0
#define GDT_KERNEL_CODE 1
#define GDT_KERNEL_DATA 2
#define GDT_SEGMENT_SELECTOR(i, p) ((i << 3) | p)
#endif