From 56fb0b774a8e89be1cb7ab1e5f464bbedd19fb22 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jun 2022 19:12:43 +0300 Subject: fix ubsan warning in release mode --- arch/riscv64/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/riscv64/config.h') 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. */ -- cgit v1.3