mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 21:36:30 +00:00
🔧 include上级文件夹时,统一采用<>来指定文件
This commit is contained in:
@ -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);
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user