将进程同步原语移动到common文件夹下

This commit is contained in:
fslongjin
2022-07-31 14:17:26 +08:00
parent ae6d8a19dd
commit a02acbdbe6
21 changed files with 22 additions and 20 deletions

View File

@ -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

View File

@ -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>
// 键盘输入缓冲区

View File

@ -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;

View File

@ -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控制器初始化锁

View File

@ -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>

View File

@ -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个进程新增定时任务