Creating one file for all structures.

This commit is contained in:
Nicolás Ortega Froysa 2018-04-02 18:22:22 +02:00
parent 826b21c572
commit 879bfb0c8a
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -18,7 +18,16 @@
#pragma once #pragma once
volatile struct tss { struct segdesc {
uint16_t limit_low;
uint16_t base_low;
uint8_t base_middle;
uint8_t access;
uint8_t gran;
uint8_t base_high;
} __attribute__((packed));
struct tss {
uint16_t link; uint16_t link;
uint16_t link_r; // reserved uint16_t link_r; // reserved
@ -63,5 +72,3 @@ volatile struct tss {
uint16_t iopb_r; // reserved uint16_t iopb_r; // reserved
uint16_t iopb; uint16_t iopb;
} __attribute__((packed)); } __attribute__((packed));
struct tss tss;