mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 05:56:32 +00:00
🔧 include上级文件夹时,统一采用<>来指定文件
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include "ahci.h"
|
||||
#include "../../../common/kprint.h"
|
||||
#include "../../../mm/slab.h"
|
||||
#include <common/kprint.h>
|
||||
#include <mm/slab.h>
|
||||
#include <syscall/syscall.h>
|
||||
#include <syscall/syscall_num.h>
|
||||
|
||||
@ -23,6 +23,7 @@ static int ahci_find_cmdslot(HBA_PORT *port);
|
||||
|
||||
// 计算HBA_MEM的虚拟内存地址
|
||||
#define cal_HBA_MEM_VIRT_ADDR(device_num) (AHCI_MAPPING_BASE + (ul)(((struct pci_device_structure_general_device_t *)(ahci_devs[device_num]))->BAR5 - ((((struct pci_device_structure_general_device_t *)(ahci_devs[0]))->BAR5) & PAGE_2M_MASK)))
|
||||
|
||||
/**
|
||||
* @brief 初始化ahci模块
|
||||
*
|
||||
|
@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "../block_device.h"
|
||||
#include "../../pci/pci.h"
|
||||
#include "../../../mm/mm.h"
|
||||
#include <driver/disk/block_device.h>
|
||||
#include <driver/pci/pci.h>
|
||||
#include <mm/mm.h>
|
||||
|
||||
/**
|
||||
* @todo 加入io调度器(当操作系统实现了多进程之后要加入这个)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "ata.h"
|
||||
#include "../../common/kprint.h"
|
||||
#include "../interrupt/apic/apic.h"
|
||||
#include <common/kprint.h>
|
||||
#include <driver/interrupt/apic/apic.h>
|
||||
|
||||
struct apic_IO_APIC_RTE_entry entry;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../common/glib.h"
|
||||
#include <common/glib.h>
|
||||
|
||||
// ======== PIO端口定义 ========
|
||||
#define PORT_DISK0_DATA 0x1f0 // 数据
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../common/glib.h"
|
||||
#include <common/glib.h>
|
||||
#include "stdint.h"
|
||||
#include <process/semaphore.h>
|
||||
|
||||
|
Reference in New Issue
Block a user