🔧 include上级文件夹时,统一采用<>来指定文件

This commit is contained in:
fslongjin
2022-07-17 15:41:19 +08:00
parent d53c7bd1c7
commit d0ddb73788
39 changed files with 140 additions and 102 deletions

View File

@ -1,7 +1,7 @@
#include "8259A.h"
#include "../../../common/printk.h"
#include "../../../common/kprint.h"
#include "../../../exception/gate.h"
#include <common/printk.h>
#include <common/kprint.h>
#include <exception/gate.h>
// 导出定义在irq.c中的中段门表
extern void (*interrupt_table[24])(void);

View File

@ -11,8 +11,8 @@
#pragma once
#include "../../../common/glib.h"
#include "../../../exception/irq.h"
#include <common/glib.h>
#include <exception/irq.h>
#define PIC_EOI 0x20
#define PIC_master 0x20 /* IO base address for master PIC */

View File

@ -1,10 +1,10 @@
#include "apic.h"
#include "../../../common/kprint.h"
#include "../../../common/printk.h"
#include "../../../common/cpu.h"
#include "../../../common/glib.h"
#include "../../../exception/gate.h"
#include "../../acpi/acpi.h"
#include <common/kprint.h>
#include <common/printk.h>
#include <common/cpu.h>
#include <common/glib.h>
#include <exception/gate.h>
#include <driver/acpi/acpi.h>
#include <exception/softirq.h>
#include <process/process.h>
@ -28,7 +28,7 @@ static struct acpi_IO_APIC_Structure_t *io_apic_ICS;
"movq $0x00, %%rax \n\t" \
"movq $0x80b, %%rcx \n\t" \
"wrmsr \n\t" :: \
: "memory"); \
: "memory"); \
} while (0)
/**

View File

@ -1,9 +1,9 @@
#pragma once
#include "../../../common/asm.h"
#include "../../../process/ptrace.h"
#include "../../../exception/irq.h"
#include "../../../mm/mm.h"
#include <common/asm.h>
#include <process/ptrace.h>
#include <exception/irq.h>
#include <mm/mm.h>
#define APIC_SUCCESS 0
#define APIC_E_NOTFOUND 1