mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:08:10 +00:00
Kernel: Re-add dummy.cpp and remove duplicate definitions
This commit is contained in:
parent
d50e237281
commit
031b0c76b5
2 changed files with 2 additions and 12 deletions
|
@ -9,23 +9,11 @@
|
|||
#include <Kernel/KSyms.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
// init.cpp
|
||||
extern size_t __stack_chk_guard;
|
||||
READONLY_AFTER_INIT size_t __stack_chk_guard;
|
||||
|
||||
// This is a temporary file to get a non-empty Kernel binary on aarch64.
|
||||
// The prekernel currently never jumps to the kernel. This is dead code.
|
||||
void dummy();
|
||||
void dummy() { }
|
||||
|
||||
// Assertions.h
|
||||
[[noreturn]] void __assertion_failed(char const*, char const*, unsigned, char const*);
|
||||
|
||||
[[noreturn]] void __assertion_failed(char const*, char const*, unsigned, char const*)
|
||||
{
|
||||
for (;;) { }
|
||||
}
|
||||
|
||||
// kmalloc.h
|
||||
size_t kmalloc_good_size(size_t);
|
||||
size_t kmalloc_good_size(size_t) { return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue