Compare commits

...

2 Commits

Author SHA1 Message Date
b0e5d02c9a
kernel: Turn off console logging before starting the init process
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-01-08 15:32:59 +01:00
a620b00b18
Unify libc header descriptions 2023-01-08 15:29:30 +01:00
6 changed files with 9 additions and 5 deletions

View File

@ -71,6 +71,9 @@ Result<void> init()
CPU::platform_finish_init(); CPU::platform_finish_init();
// Disable console logging before transferring control to userspace.
setup_log(log_debug_enabled(), log_serial_enabled(), false);
CPU::enable_interrupts(); CPU::enable_interrupts();
return {}; return {};

View File

@ -1,4 +1,4 @@
/* bits/errno-return.h: Provides a convenient way of setting errno after a syscall. */ /* bits/errno-return.h: A convenient way of setting errno after a syscall. */
#ifndef _BITS_ERRNO_RETURN_H #ifndef _BITS_ERRNO_RETURN_H
#define _BITS_ERRNO_RETURN_H #define _BITS_ERRNO_RETURN_H

View File

@ -1,4 +1,4 @@
/* bits/timespec.h: Defines the timespec structure. */ /* bits/timespec.h: The timespec structure. */
#ifndef _BITS_TIMESPEC_H #ifndef _BITS_TIMESPEC_H
#define _BITS_TIMESPEC_H #define _BITS_TIMESPEC_H

View File

@ -1,4 +1,4 @@
/* ctype.h: Character handling functions. */ /* ctype.h: Character handling. */
#ifndef _CTYPE_H #ifndef _CTYPE_H
#define _CTYPE_H #define _CTYPE_H

View File

@ -1,9 +1,10 @@
/* sys/syscall.h: Defines syscall numbers. */ /* sys/syscall.h: Syscall constants. */
#ifndef _SYS_SYSCALL_H #ifndef _SYS_SYSCALL_H
#define _SYS_SYSCALL_H #define _SYS_SYSCALL_H
/* This header just forwards to luna/Syscall.h, which is used in the kernel as well. */ /* This header just forwards to luna/Syscall.h, which is used in the kernel as well. */
#include <luna/Syscall.h> #include <luna/Syscall.h>
#undef enumerate_syscalls
#endif #endif

View File

@ -1,4 +1,4 @@
/* time.h: Time management functions. */ /* time.h: Time management. */
#ifndef _TIME_H #ifndef _TIME_H
#define _TIME_H #define _TIME_H