Skip to content
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

Commit fb87f81

Browse files
authored
Merge pull request #175 from assembler-0/Development
Development
2 parents bb0f547 + f4e4fea commit fb87f81

159 files changed

Lines changed: 745 additions & 769 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

arch/x86_64/features/x64.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "x64.h"
2-
#include "Console.h"
3-
#include "Io.h"
1+
#include <x64.h>
2+
#include <Console.h>
3+
#include <Io.h>
44

55
static CpuFeatures cpu_features = {0};
66

arch/x86_64/features/x64.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef CPU_H
22
#define CPU_H
33

4-
#include "stdint.h"
5-
#include "stdbool.h"
4+
#include <stdint.h>
5+
#include <stdbool.h>
66

77
typedef struct {
88
bool sse;

arch/x86_64/gdt/Gdt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "Gdt.h"
2-
#include "Panic.h"
1+
#include <Gdt.h>
2+
#include <Panic.h>
33

44
// GDT with 7 entries: null, kcode, kdata, ucode, udata, tss_low, tss_high
55
static struct GdtEntry gdt[7];

arch/x86_64/gdt/Gdt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef GDT_H
22
#define GDT_H
33

4-
#include "stdint.h"
4+
#include <stdint.h>
55

66
#define GDT_ACCESS_CODE_PL0 0x9A // Present, Ring 0, Executable, Read/Write
77
#define GDT_ACCESS_DATA_PL0 0x92 // Present, Ring 0, Read/Write

arch/x86_64/idt/Idt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "Idt.h"
2-
#include "Kernel.h"
3-
#include "Syscall.h"
1+
#include <Idt.h>
2+
#include <Kernel.h>
3+
#include <Syscall.h>
44
#define IDT_ENTRIES 256
55

66
struct IdtEntry g_Idt[IDT_ENTRIES];

arch/x86_64/idt/Idt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef IDT_H
22
#define IDT_H
33

4-
#include "stdint.h"
4+
#include <stdint.h>
55

66
// An entry in the IDT (64-bit)
77
struct IdtEntry {

arch/x86_64/interrupts/Interrupts.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
#include "Interrupts.h"
2-
#include "../../../drivers/APIC/APIC.h"
3-
#include "../../../drivers/storage/Ide.h"
4-
#include "Atomics.h"
5-
#include "Console.h"
6-
#include "Kernel.h"
7-
#include "PS2.h"
8-
#include "PageFaultHandler.h"
9-
#include "Panic.h"
10-
#include "Scheduler.h"
11-
#include "StackTrace.h"
12-
#include "ethernet/Network.h"
1+
#include <Interrupts.h>
2+
#include <../../../drivers/APIC/APIC.h>
3+
#include <../../../drivers/storage/Ide.h>
4+
#include <Atomics.h>
5+
#include <Console.h>
6+
#include <Kernel.h>
7+
#include <PS2.h>
8+
#include <PageFaultHandler.h>
9+
#include <Panic.h>
10+
#include <Scheduler.h>
11+
#include <StackTrace.h>
12+
#include <ethernet/Network.h>
1313

1414
volatile uint32_t APICticks = 0;
1515

arch/x86_64/interrupts/Interrupts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef INTERRUPTS_H
22
#define INTERRUPTS_H
33

4-
#include "stdint.h"
4+
#include <stdint.h>
55

66
uint64_t ToIRQ(uint64_t irn);
77

arch/x86_64/syscall/Syscall.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "Syscall.h"
2-
#include "Console.h"
3-
#include "Scheduler.h"
1+
#include <Syscall.h>
2+
#include <Console.h>
3+
#include <Scheduler.h>
44

55
uint64_t SyscallHandler(uint64_t syscall_num, uint64_t arg1, uint64_t arg2, uint64_t arg3) {
66
switch (syscall_num) {

arch/x86_64/syscall/Syscall.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef VOIDFRAME_SYSCALL_H
22
#define VOIDFRAME_SYSCALL_H
33

4-
#include "stdint.h"
4+
#include <stdint.h>
55

66
#define SYS_READ 0
77
#define SYS_WRITE 1

0 commit comments

Comments
 (0)