forked from xamidev/pepperOS
Fix braces + init_paging args
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
|
||||
void idt_init();
|
||||
|
||||
struct interrupt_descriptor
|
||||
{
|
||||
struct interrupt_descriptor {
|
||||
uint16_t address_low;
|
||||
uint16_t selector;
|
||||
uint8_t ist;
|
||||
@@ -22,8 +21,7 @@ struct interrupt_descriptor
|
||||
uint32_t reserved;
|
||||
} __attribute__((packed));
|
||||
|
||||
struct idtr
|
||||
{
|
||||
struct idtr {
|
||||
uint16_t limit;
|
||||
uint64_t base;
|
||||
} __attribute__((packed));
|
||||
@@ -31,8 +29,7 @@ struct idtr
|
||||
// All general-purpose registers (except rsp) as stored on the stack,
|
||||
// plus the values we pushed (vector number, error code) and the iret frame
|
||||
// In reverse order because the stack grows downwards.
|
||||
struct cpu_status_t
|
||||
{
|
||||
struct cpu_status_t {
|
||||
uint64_t r15;
|
||||
uint64_t r14;
|
||||
uint64_t r13;
|
||||
|
||||
Reference in New Issue
Block a user