aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/config.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-11 19:12:43 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-11 19:12:43 +0300
commit56fb0b774a8e89be1cb7ab1e5f464bbedd19fb22 (patch)
tree880c85cdd9052ec5f2c93cbede2d7d083bd5cd7f /arch/riscv64/config.h
parent426da8be0db33405b0cfe53108b65040623972f0 (diff)
downloadkmi-56fb0b774a8e89be1cb7ab1e5f464bbedd19fb22.tar.gz
kmi-56fb0b774a8e89be1cb7ab1e5f464bbedd19fb22.zip
fix ubsan warning in release mode
Diffstat (limited to 'arch/riscv64/config.h')
-rw-r--r--arch/riscv64/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv64/config.h b/arch/riscv64/config.h
index 7be4bb3..e060555 100644
--- a/arch/riscv64/config.h
+++ b/arch/riscv64/config.h
@@ -28,6 +28,7 @@
#define PM_KERN_BASE (RAM_BASE + SZ_512K)
/** Maximum size of the kernel proper. Largely arbitrary. */
+/** \todo UBSAN is getting pretty close to this limit, should it be raised? */
#define PM_KERN_SIZE (SZ_256K)
/** Highest allowed physical address where kernel stuff may lie. */