summaryrefslogtreecommitdiff
path: root/AK/Assertions.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2022-10-12 21:55:05 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-14 13:01:13 +0200
commit31bd5b1a023124d960d79d5ace7e29b6d0a696d2 (patch)
treec1ff3c1b0ddecb5809470aaf9a17f53563c0062d /AK/Assertions.h
parentc18c84dbfdc18effe5f8c5ffb56b2f5549e6bf90 (diff)
downloadserenity-31bd5b1a023124d960d79d5ace7e29b6d0a696d2.zip
AK+Userland: Stub out code that isn't currently implemented on AARCH64
Even though this almost certainly wouldn't run properly even if we had a working kernel for AARCH64 this at least lets us build all the userland binaries.
Diffstat (limited to 'AK/Assertions.h')
-rw-r--r--AK/Assertions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/Assertions.h b/AK/Assertions.h
index ab628c14a6..55e3eb7cad 100644
--- a/AK/Assertions.h
+++ b/AK/Assertions.h
@@ -24,4 +24,5 @@ extern "C" __attribute__((noreturn)) void ak_verification_failed(char const*);
# define VERIFY_NOT_REACHED() VERIFY(false) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
static constexpr bool TODO = false;
# define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
+# define TODO_AARCH64() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_assert, it's a runtime check */
#endif