diff --git a/kernel/driver/usb/Makefile b/kernel/driver/usb/Makefile new file mode 100644 index 00000000..f46cfe6b --- /dev/null +++ b/kernel/driver/usb/Makefile @@ -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 \ No newline at end of file diff --git a/kernel/driver/usb/usb.c b/kernel/driver/usb/usb.c new file mode 100644 index 00000000..202fc1b2 --- /dev/null +++ b/kernel/driver/usb/usb.c @@ -0,0 +1 @@ +#include "usb.h" \ No newline at end of file diff --git a/kernel/driver/usb/usb.h b/kernel/driver/usb/usb.h new file mode 100644 index 00000000..7b9637ef --- /dev/null +++ b/kernel/driver/usb/usb.h @@ -0,0 +1 @@ +#pragma once \ No newline at end of file diff --git a/kernel/driver/usb/xhci/xhci.c b/kernel/driver/usb/xhci/xhci.c new file mode 100644 index 00000000..cd1eba28 --- /dev/null +++ b/kernel/driver/usb/xhci/xhci.c @@ -0,0 +1 @@ +#include "xhci.h" \ No newline at end of file diff --git a/kernel/driver/usb/xhci/xhci.h b/kernel/driver/usb/xhci/xhci.h new file mode 100644 index 00000000..7b9637ef --- /dev/null +++ b/kernel/driver/usb/xhci/xhci.h @@ -0,0 +1 @@ +#pragma once \ No newline at end of file