CVS commit: src/sys/arch/amiga/amiga
Module Name:src Committed By: mlelstv Date: Sat May 4 13:45:10 UTC 2024 Modified Files: src/sys/arch/amiga/amiga: trap.c Log Message: Don't panic on NULL pointer dereference when done by copyin, ... To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/arch/amiga/amiga/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/amiga/amiga/trap.c diff -u src/sys/arch/amiga/amiga/trap.c:1.142 src/sys/arch/amiga/amiga/trap.c:1.143 --- src/sys/arch/amiga/amiga/trap.c:1.142 Sat Jan 20 00:15:30 2024 +++ src/sys/arch/amiga/amiga/trap.c Sat May 4 13:45:10 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.142 2024/01/20 00:15:30 thorpej Exp $ */ +/* $NetBSD: trap.c,v 1.143 2024/05/04 13:45:10 mlelstv Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -45,7 +45,7 @@ #include "opt_m68k_arch.h" #include -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.142 2024/01/20 00:15:30 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.143 2024/05/04 13:45:10 mlelstv Exp $"); #include #include @@ -364,7 +364,7 @@ trapmmufault(int type, u_int code, u_int ftype = VM_PROT_READ; va = trunc_page((vaddr_t)v); #ifdef DEBUG - if (map == kernel_map && va == 0) { + if (map == kernel_map && va == 0 && onfault == 0) { printf("trap: bad kernel access at %x pc %x\n", v, fp->f_pc); panictrap(type, code, v, fp); }
CVS commit: src/sys/arch/amiga/amiga
Module Name:src Committed By: mlelstv Date: Sat May 4 13:45:10 UTC 2024 Modified Files: src/sys/arch/amiga/amiga: trap.c Log Message: Don't panic on NULL pointer dereference when done by copyin, ... To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/arch/amiga/amiga/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amiga/amiga
Module Name:src Committed By: skrll Date: Mon May 8 08:26:11 UTC 2023 Modified Files: src/sys/arch/amiga/amiga: conf.c Log Message: Ugly hack to fix the builds. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/arch/amiga/amiga/conf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amiga/amiga
Module Name:src Committed By: skrll Date: Mon May 8 08:26:11 UTC 2023 Modified Files: src/sys/arch/amiga/amiga: conf.c Log Message: Ugly hack to fix the builds. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/arch/amiga/amiga/conf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/amiga/amiga/conf.c diff -u src/sys/arch/amiga/amiga/conf.c:1.75 src/sys/arch/amiga/amiga/conf.c:1.76 --- src/sys/arch/amiga/amiga/conf.c:1.75 Wed May 3 13:49:30 2023 +++ src/sys/arch/amiga/amiga/conf.c Mon May 8 08:26:11 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.75 2023/05/03 13:49:30 phx Exp $ */ +/* $NetBSD: conf.c,v 1.76 2023/05/08 08:26:11 skrll Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.75 2023/05/03 13:49:30 phx Exp $"); +__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.76 2023/05/08 08:26:11 skrll Exp $"); #include #include @@ -44,7 +44,9 @@ __KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.7 #include "grf.h" #include "amidisplaycc.h" #include "mntva.h" +#ifndef __powerpc__ #include "zz9k_fb.h" +#endif #include "wsdisplay.h" /*
Re: CVS commit: src/sys/arch/amiga/amiga
Hi, Sorry for the serious delay in my response. On 2020/07/22 13:37, matthew green wrote: thanks for getting more m68k working! Thanks! "Rin Okuyama" writes: Module Name:src Committed By: rin Date: Tue Jul 21 06:39:31 UTC 2020 Modified Files: src/sys/arch/amiga/amiga: locore.s Log Message: Align tmpstk to 4-byte boundary in the same manner as mac68k. However, unfortunately, this does not fix strange crashes of GCC8-compiled kernel, for which I cannot even enter DDB nor obtain crash dump. We need further investigation... boo. can you update the README.gcc8 file (external/gpl3/gcc), for the m68k: line on L87 or so, and add 'y' for the known working kernels, and 'n' for the failed ones. Finally, I managed GCC8 to work for amiga kernel! Can you please take a look into port-m68k/6 ? http://gnats.netbsd.org/6 I will update the table when the patch in the PR and related ones are committed. After that, I think m68k ports can be switched to GCC8. Thanks, rin
re: CVS commit: src/sys/arch/amiga/amiga
thanks for getting more m68k working! "Rin Okuyama" writes: > Module Name: src > Committed By: rin > Date: Tue Jul 21 06:39:31 UTC 2020 > > Modified Files: > src/sys/arch/amiga/amiga: locore.s > > Log Message: > Align tmpstk to 4-byte boundary in the same manner as mac68k. > > However, unfortunately, this does not fix strange crashes of GCC8-compiled > kernel, for which I cannot even enter DDB nor obtain crash dump. > > We need further investigation... boo. can you update the README.gcc8 file (external/gpl3/gcc), for the m68k: line on L87 or so, and add 'y' for the known working kernels, and 'n' for the failed ones. thanks. .mrg.
Re: CVS commit: src/sys/arch/amiga/amiga
> Module Name: src > Committed By: mlelstv > Date: Thu Nov 17 07:45:54 UTC 2011 > > Modified Files: > src/sys/arch/amiga/amiga: machdep.c > > Log Message: > identifycpu() is not just cosmetic for the banner but initializes how FPU > contexts are saved. > Also drop code that checks for fputype before it is determined. Is it really ok to remove m68k_make_fpu_idle_frame()? Shouldn't it be moved after identifycpu()? I wonder if it would affect recent awk problem on port-amiga. --- Izumi Tsutsui