From b042250507edf37e2d610aa202008e715aa0db8e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 11 Sep 2004 23:35:13 +0000 Subject: [PATCH] Do console locking. Rename printf.c to console.c to better explain its function. Move puts() from lib to lib/{user,kernel} so it can take console lock. --- src/Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.build b/src/Makefile.build index e772300..0293a0f 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -46,7 +46,7 @@ lib_SRC += lib/string.c # String functions. lib_kernel_SRC += lib/kernel/list.c # Doubly-linked lists. lib_kernel_SRC += lib/kernel/bitmap.c # Bitmaps. lib_kernel_SRC += lib/kernel/hash.c # Hash tables. -lib_kernel_SRC += lib/kernel/printf.c # Kernel printf(). +lib_kernel_SRC += lib/kernel/console.c # printf(), putchar(). # Filesystem code. filesys_SRC = filesys/filesys.c # Filesystem core. -- 2.30.2