mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 20:36:31 +00:00
将进程同步原语移动到common文件夹下
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
#include <common/glib.h>
|
||||
#include "stdint.h"
|
||||
#include <process/semaphore.h>
|
||||
#include <common/semaphore.h>
|
||||
|
||||
#define BLK_TYPE_AHCI 0
|
||||
struct block_device_operation
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include <mm/slab.h>
|
||||
#include <common/printk.h>
|
||||
#include <filesystem/VFS/VFS.h>
|
||||
#include <process/wait_queue.h>
|
||||
#include <process/spinlock.h>
|
||||
#include <common/wait_queue.h>
|
||||
#include <common/spinlock.h>
|
||||
#include <common/kfifo.h>
|
||||
|
||||
// 键盘输入缓冲区
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <smp/ipi.h>
|
||||
#include <driver/video/video.h>
|
||||
#include <driver/interrupt/apic/apic_timer.h>
|
||||
#include <process/spinlock.h>
|
||||
#include <common/spinlock.h>
|
||||
|
||||
static struct acpi_HPET_description_table_t *hpet_table;
|
||||
static uint64_t HPET_REG_BASE = 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <common/kprint.h>
|
||||
#include <driver/pci/pci.h>
|
||||
#include <debug/bug.h>
|
||||
#include <process/spinlock.h>
|
||||
#include <common/spinlock.h>
|
||||
|
||||
extern spinlock_t xhci_controller_init_lock; // xhci控制器初始化锁
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "xhci.h"
|
||||
#include <common/kprint.h>
|
||||
#include <debug/bug.h>
|
||||
#include <process/spinlock.h>
|
||||
#include <common/spinlock.h>
|
||||
#include <mm/mm.h>
|
||||
#include <mm/slab.h>
|
||||
#include <debug/traceback/traceback.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common/kprint.h>
|
||||
#include <mm/mm.h>
|
||||
#include <mm/slab.h>
|
||||
#include <process/spinlock.h>
|
||||
#include <common/spinlock.h>
|
||||
#include <exception/softirq.h>
|
||||
|
||||
// 每个时刻只能有1个进程新增定时任务
|
||||
|
Reference in New Issue
Block a user