mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
Kernel: Add StdLib.cpp and UserOrKernelBuffer.cpp to aarch64 build
Also remove UserOrKernelBuffer::{read, write} and __stack_chk_fail from Dummy.cpp and init.cpp respectively.
This commit is contained in:
parent
290d3449e0
commit
50e74de279
3 changed files with 2 additions and 23 deletions
|
@ -111,23 +111,6 @@ ErrorOr<size_t> Inode::write_bytes(off_t, size_t, UserOrKernelBuffer const&, Ope
|
|||
|
||||
}
|
||||
|
||||
// UserOrKernelBuffer.cpp
|
||||
namespace Kernel {
|
||||
|
||||
ErrorOr<void> UserOrKernelBuffer::write(void const*, size_t, size_t)
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
return {};
|
||||
}
|
||||
|
||||
ErrorOr<void> UserOrKernelBuffer::read(void*, size_t, size_t) const
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// x86 init
|
||||
|
||||
multiboot_module_entry_t multiboot_copy_boot_modules_array[16];
|
||||
|
|
|
@ -65,12 +65,6 @@ extern ctor_func_t end_ctors[];
|
|||
// FIXME: Share this with the Intel Prekernel.
|
||||
extern size_t __stack_chk_guard;
|
||||
size_t __stack_chk_guard;
|
||||
extern "C" [[noreturn]] void __stack_chk_fail();
|
||||
|
||||
void __stack_chk_fail()
|
||||
{
|
||||
Kernel::Processor::halt();
|
||||
}
|
||||
|
||||
READONLY_AFTER_INIT bool g_in_early_boot;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue