From a1a97aa7b2b0c3d1f3b6766446d605f83de1c561 Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 7 Apr 2023 19:02:18 -0400 Subject: stuff and things --- sys/include/kernel_earlyprintf.h | 6 ------ sys/include/mm/kalloc.h | 4 ++++ sys/include/printf.h | 7 +++++++ 3 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 sys/include/kernel_earlyprintf.h create mode 100644 sys/include/printf.h (limited to 'sys/include') diff --git a/sys/include/kernel_earlyprintf.h b/sys/include/kernel_earlyprintf.h deleted file mode 100644 index 051d7e5..0000000 --- a/sys/include/kernel_earlyprintf.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _KPRINTF_H -#define _KPRINTF_H - -int kernel_earlyputs(const char *); - -#endif /* _KPRINTF_H */ diff --git a/sys/include/mm/kalloc.h b/sys/include/mm/kalloc.h index e99d624..10adbda 100644 --- a/sys/include/mm/kalloc.h +++ b/sys/include/mm/kalloc.h @@ -7,5 +7,9 @@ void *kzalloc(void); void kfree(void *); +void kalloc_init(void); + +void walkfree(void); + #endif /* _KALLOC_H */ diff --git a/sys/include/printf.h b/sys/include/printf.h new file mode 100644 index 0000000..76debc3 --- /dev/null +++ b/sys/include/printf.h @@ -0,0 +1,7 @@ +#ifndef _KPRINTF_H +#define _KPRINTF_H + +int puts(const char *); +void printf(const char *, ...); + +#endif /* _KPRINTF_H */ -- cgit v1.2.3