Hello world over serial

This commit is contained in:
2025-12-16 23:09:13 +01:00
parent c4c1939637
commit 13fee12f59
23 changed files with 2272 additions and 5 deletions

20
kernel/amd64/tss.h Normal file
View 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