mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Kernel: Add 'RegisterState' & 'KString::try_create' stubs for aarch64
The aarch64 build was broken due to missing these two things, this commit adds two empty stubs for them
This commit is contained in:
parent
b717f7065e
commit
a9dbb52deb
2 changed files with 4 additions and 0 deletions
|
@ -6,5 +6,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
struct RegisterState {
|
||||||
|
};
|
||||||
|
|
||||||
struct DebugRegisterState {
|
struct DebugRegisterState {
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,6 +45,7 @@ void dump_backtrace(PrintToScreen) { }
|
||||||
|
|
||||||
// KString.cpp
|
// KString.cpp
|
||||||
ErrorOr<NonnullOwnPtr<KString>> KString::try_create_uninitialized(size_t, char*&) { return ENOMEM; }
|
ErrorOr<NonnullOwnPtr<KString>> KString::try_create_uninitialized(size_t, char*&) { return ENOMEM; }
|
||||||
|
ErrorOr<NonnullOwnPtr<KString>> KString::try_create(StringView) { return ENOMEM; }
|
||||||
void KString::operator delete(void*) { }
|
void KString::operator delete(void*) { }
|
||||||
|
|
||||||
// SafeMem.h
|
// SafeMem.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue