Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Syscall changes



I think the kernel configs need a compat option to handle recent syscall
changes.

If you try to use a new kernel without this change with an older disk
image you will get core dumps from some binaries.

Index: GENERIC.common
===================================================================
RCS file: /cvsroot/src/sys/arch/riscv/conf/GENERIC.common,v
retrieving revision 1.5
diff -u -r1.5 GENERIC.common
--- GENERIC.common      16 Jul 2023 07:30:54 -0000      1.5
+++ GENERIC.common      1 Aug 2023 14:45:59 -0000
@@ -57,7 +57,7 @@
 #options       SYSCALL_TIMES_HASCOUNTER        # use 'broken' rdtsc (soekris)
 
 # Compatibility options
-#include       "conf/compat_netbsd90.config"
+include        "conf/compat_netbsd100.config"
 
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances


Home | Main Index | Thread Index | Old Index