Hello world over serial
This commit is contained in:
20
kernel/amd64/tss.h
Normal file
20
kernel/amd64/tss.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef _KERNEL_AMD64_TSS_H
|
||||
#define _KERNEL_AMD64_TSS_H
|
||||
|
||||
#include <libk/std.h>
|
||||
|
||||
struct tss {
|
||||
uint32_t resv0;
|
||||
uint64_t rsp0;
|
||||
uint64_t rsp1;
|
||||
uint64_t rsp2;
|
||||
uint64_t resv1;
|
||||
uint64_t ist[7];
|
||||
uint64_t resv2;
|
||||
uint16_t resv3;
|
||||
uint16_t iopb_off;
|
||||
} __attribute__((packed));
|
||||
|
||||
volatile struct tss *amd64_get_tss(void);
|
||||
|
||||
#endif // _KERNEL_AMD64_TSS_H
|
||||
Reference in New Issue
Block a user