Compare commits
2 Commits
8de59138ef
...
b0e5d02c9a
Author | SHA1 | Date | |
---|---|---|---|
b0e5d02c9a | |||
a620b00b18 |
@ -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 {};
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user