创建了screen manager文件

This commit is contained in:
fslongjin 2022-08-01 19:43:57 +08:00
parent 28e282d157
commit fd1b4220be
6 changed files with 24 additions and 2 deletions

View File

@ -113,7 +113,8 @@
"ia64_msi.h": "c", "ia64_msi.h": "c",
"errno.h": "c", "errno.h": "c",
"bug.h": "c", "bug.h": "c",
"apic_timer.h": "c" "apic_timer.h": "c",
"sched.h": "c"
}, },
"C_Cpp.errorSquiggles": "Enabled", "C_Cpp.errorSquiggles": "Enabled",
"esbonio.sphinx.confDir": "" "esbonio.sphinx.confDir": ""

View File

@ -17,7 +17,7 @@ export ASFLAGS := --64
LD_LIST := head.o LD_LIST := head.o
kernel_subdirs := common driver process debug filesystem time arch exception mm smp sched syscall ktest kernel_subdirs := common driver process debug filesystem time arch exception mm smp sched syscall ktest lib

12
kernel/lib/Makefile Normal file
View File

@ -0,0 +1,12 @@
CFLAGS += -I .
kernel_lib_subdirs:= libUI
ECHO:
@echo "$@"
$(kernel_lib_subdirs): ECHO
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)" PIC="$(PIC)"
all: $(kernel_lib_subdirs)

View File

@ -0,0 +1,7 @@
all: screen_manager.o
CFLAGS += -I .
screen_manager.o: screen_manager.c
gcc $(CFLAGS) -c screen_manager.c -o screen_manager.o

View File

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

View File

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