1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +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:
Marco Cutecchia 2022-02-17 17:49:26 +01:00 committed by Andreas Kling
parent b717f7065e
commit a9dbb52deb
2 changed files with 4 additions and 0 deletions

View file

@ -6,5 +6,8 @@
#pragma once
struct RegisterState {
};
struct DebugRegisterState {
};

View file

@ -45,6 +45,7 @@ void dump_backtrace(PrintToScreen) { }
// KString.cpp
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*) { }
// SafeMem.h