创建了usb驱动程序文件

This commit is contained in:
fslongjin 2022-07-17 14:22:42 +08:00
parent b8c3d97e22
commit d53c7bd1c7
5 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
all: usb.o xhci.o
usb.o: usb,c
gcc $(CFLAGS) -c usb.c -o usb.o
xhci.o: xhci.c
gcc $(CFLAGS) -c xhci/xhci.c -o xhci/xhci.o

1
kernel/driver/usb/usb.c Normal file
View File

@ -0,0 +1 @@
#include "usb.h"

1
kernel/driver/usb/usb.h Normal file
View File

@ -0,0 +1 @@
#pragma once

View File

@ -0,0 +1 @@
#include "xhci.h"

View File

@ -0,0 +1 @@
#pragma once