CVS commit: src/sys/arch/pmax/stand

2021-04-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 25 23:42:08 UTC 2021 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Handle mipsn64 To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/pmax/stand/Makefile.booters Please

CVS commit: src/sys/arch/pmax/stand

2021-04-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 25 23:42:08 UTC 2021 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Handle mipsn64 To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/pmax/stand/Makefile.booters Please

CVS commit: src/sys/arch/pmax/stand

2016-09-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 3 11:34:47 UTC 2016 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Add NOPIE To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/pmax/stand/Makefile.booters Please note

CVS commit: src/sys/arch/pmax/stand

2016-09-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 3 11:34:47 UTC 2016 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Add NOPIE To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/pmax/stand/Makefile.booters Please note

CVS commit: src/sys/arch/pmax/stand/common

2016-06-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jun 11 19:11:20 UTC 2016 Modified Files: src/sys/arch/pmax/stand/common: callvec.c Log Message: Update to match change to dec_prom.h. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/sys/arch/pmax/stand/common

2016-06-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jun 11 19:11:20 UTC 2016 Modified Files: src/sys/arch/pmax/stand/common: callvec.c Log Message: Update to match change to dec_prom.h. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/sys/arch/pmax/stand/common

2011-03-26 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Mar 26 15:49:27 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S start.S Log Message: Use .set reorder to entrust compiler hazards and BDslots to

CVS commit: src/sys/arch/pmax/stand/common

2011-03-26 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Mar 26 15:49:27 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S start.S Log Message: Use .set reorder to entrust compiler hazards and BDslots to

CVS commit: src/sys/arch/pmax/stand

2011-01-28 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jan 28 11:58:39 UTC 2011 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/pmax/stand/Makefile.booters Please note that

CVS commit: src/sys/arch/pmax/stand

2011-01-28 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jan 28 11:58:39 UTC 2011 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/pmax/stand/Makefile.booters Please note that

CVS commit: src/sys/arch/pmax/stand

2011-01-23 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Jan 23 13:18:58 UTC 2011 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Define NOMAN earlier To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/pmax/stand/Makefile.booters

CVS commit: src/sys/arch/pmax/stand

2011-01-23 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Jan 23 13:18:58 UTC 2011 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Define NOMAN earlier To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/pmax/stand/Makefile.booters

CVS commit: src/sys/arch/pmax/stand/common

2011-01-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jan 12 15:32:43 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Pull a fix from src/sys/net/if_ethersubr.c rev. 1.185: Fix off by one. To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/sys/arch/pmax/stand/common

2011-01-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jan 12 15:32:43 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Pull a fix from src/sys/net/if_ethersubr.c rev. 1.185: Fix off by one. To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/sys/arch/pmax/stand/common

2011-01-11 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Jan 11 16:19:38 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinfo.c Log Message: ANSIfy. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/pmax/stand/common/bootinfo.c Please note

CVS commit: src/sys/arch/pmax/stand/common

2011-01-11 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Jan 11 16:19:38 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinfo.c Log Message: ANSIfy. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/pmax/stand/common/bootinfo.c Please note

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 15:25:15 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S Log Message: - specify .set noreorder to fill BDslots properly - indent instructions

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 15:25:44 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: start.S startprog.S Log Message: Indent instructions in BDslots. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 16:43:30 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S Log Message: Add hazard nops required by MIPS1 in noreorder case. (Umm, is it easier

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 17:01:17 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: common.h if_prom.c start.S Log Message: - start.S add a hazard nop so that prom_restart() works properly on MIPS1 (it seems broken since initial

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 15:25:15 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S Log Message: - specify .set noreorder to fill BDslots properly - indent instructions

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 15:25:44 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: start.S startprog.S Log Message: Indent instructions in BDslots. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/pmax/stand/common

2011-01-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Jan 10 16:43:30 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: bootinit.S bootread.S clear_cache.S getchar.S printf.S Log Message: Add hazard nops required by MIPS1 in noreorder case. (Umm, is it easier

Re: CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Log Message: Check if `enet' environment variable is available before reference to get MAC address, and exit with appropriate warning messages if it isn't. My 3MIN doesn't set the variable by default and netboot fails silently. I guess the battery of RTC chip in your DECstation weared

Re: CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Toru Nishimura
Hmm, but `boot' variable (3/rz2/netbsd -aN) is still kept and `enet' is cleared even after abort by haltbutton without powercycle. Anyway, NULL pointer dereference is a bad thing. The original code used to be ok for long time, at the age. Toru Nishimura / ALKYL Technology

Re: CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Hmm, but `boot' variable (3/rz2/netbsd -aN) is still kept and `enet' is cleared even after abort by haltbutton without powercycle. Anyway, NULL pointer dereference is a bad thing. The original code used to be ok for long time, at the age. Probably it has been broken on 3MIN for long

CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 9 16:28:40 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Check if `enet' environment variable is available before reference to get MAC address, and exit with appropriate warning

CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 9 16:55:13 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Misc cleanup: - use DPRINTF() style debug printf - KNF and ANSIfy - fix space/TAB botch - remove extra newlines To generate a

CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 9 16:28:40 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Check if `enet' environment variable is available before reference to get MAC address, and exit with appropriate warning

CVS commit: src/sys/arch/pmax/stand/common

2011-01-09 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 9 16:55:13 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: if_prom.c Log Message: Misc cleanup: - use DPRINTF() style debug printf - KNF and ANSIfy - fix space/TAB botch - remove extra newlines To generate a

CVS commit: src/sys/arch/pmax/stand/common

2011-01-07 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jan 7 14:50:27 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Put .set noreorder so that BDslots are properly filled. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/pmax/stand/common

2011-01-07 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jan 7 14:50:27 UTC 2011 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Put .set noreorder so that BDslots are properly filled. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-26 Thread Izumi Tsutsui
Matt Thomas wrote: On Nov 25, 2010, at 2:20 PM, Simon Burge wrote: Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change?

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Now NetBSD/pmax kernel properly boots, but init(8) still doesn't start on GXemul emulating R3000 3MAX. GXemul's trace shows it's in infinite loop of uvm_fault(): --- : trap(0x8ff3c,:,PATH_LOCALE,0x7ded1044,..) _splset_noprof(0xfc01,0x0,PATH_LOCALE,0x7ded1044,..)

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 14:05:28 +, Izumi Tsutsui wrote: Module Name: src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
On Thu Nov 25 2010 at 14:05:28 +, Izumi Tsutsui wrote: Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use

re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread matthew green
--- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw a0, CPUVAR(CURLWP) # 1st arg is curlwp

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 23:39:03 +0900, Izumi Tsutsui wrote: One remaining problem (which was debugged by Alessandro Forin) is that the post-mips64 brk/sbrk syscall stubs depend on syscall retaining t0, and the kernel doesn't do that. I have this in my local tree and it makes a mips1

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 03:01:29 +1100, matthew green wrote: --- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 03:01:29 +1100, matthew green wrote: --- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Actually, I'm not sure on for sure. If we define the kernel to retain t regs over syscall, there is no need to touch the syscall stubs. The problem is essentially that the old stub did this: brk: syscall la t0 _C_LABEL sw v0 0(t0) and the new one: brk: la t0 _C_LABEL

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
brk: syscall la t0 _C_LABEL sw v0 0(t0) and the new one: brk: la t0 _C_LABEL syscall sw v0 0(t0) sbrk.S is that case: http://cvsweb.NetBSD.org/bsdweb.cgi/src/lib/libc/arch/mips/sys/sbrk.S.diff?r1=1.16r2=1.17 --- - lw v1, _C_LABEL(__curbrk) + PTR_LA

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I said, I don't have strong feelings about this. If you want to fix stubs, go for

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Matt Thomas
On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I said, I don't have strong

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Please don't. I've changed the mips1 syscall handler to save t0-t2 just like the mips3+ handler does. What about brk.S? --- Izumi Tsutsui

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Simon Burge
Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Matt Thomas
On Nov 25, 2010, at 2:20 PM, Simon Burge wrote: Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at

re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread matthew green
Well, it's necessary for libc post-mips64, but I don't think anyone will terribly scream if their not-currently-working libc remains the same. Old (4.0) userland works just fine even without that fix. sounds like we don't have to bother about fixing the recently broken stuff then. good

CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to loaded kernel in __mips_o32 case Now NetBSD/pmax kernel

CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to loaded kernel in __mips_o32 case Now NetBSD/pmax kernel

CVS commit: src/sys/arch/pmax/stand

2009-04-23 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Apr 23 16:35:20 UTC 2009 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Use bsd.klinks.mk to create machine and ${MACHINE_ARCH} symlinks. To generate a diff of this commit: cvs rdiff -u -r1.49

CVS commit: src/sys/arch/pmax/stand

2009-04-23 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Apr 23 16:37:44 UTC 2009 Modified Files: src/sys/arch/pmax/stand: Makefile.booters Log Message: Make sure to remove all generated files on cleandir. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51