shithub: riscv

Download patch

ref: 6fe654f50c536a61c94a43ce2fcb147625da1d09
parent: e83e2c31c72025f06ea2452818b526c1dab08b91
author: adventuresin9 <adventuresin9@gmail.com>
date: Tue Mar 7 10:47:11 EST 2023

sys/src/9/port/sysproc.c: add spim magic

--- a/sys/src/9/port/sysproc.c
+++ b/sys/src/9/port/sysproc.c
@@ -358,6 +358,7 @@
 				case S_MAGIC:	/* 2MB segment alignment for amd64 */
 					align = 0x1fffff;
 					break;
+				case P_MAGIC:	/* 16K segment alignment for spim */
 				case V_MAGIC:	/* 16K segment alignment for mips */
 					align = 0x3fff;
 					break;