CVS commit: src/sys/arch/mvme68k/mvme68k

2020-11-21 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Nov 21 17:59:13 UTC 2020

Modified Files:
src/sys/arch/mvme68k/mvme68k: bus_dma.c isr.c

Log Message:
malloc(9) -> kmem(9)


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/mvme68k/mvme68k/bus_dma.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/mvme68k/mvme68k/isr.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/mvme68k/dev

2019-03-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Mar 13 06:27:34 UTC 2019

Modified Files:
src/sys/arch/mvme68k/dev: pcctwo_68k.c

Log Message:
Fix small (but fatal) oversight in device/softc split.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mvme68k/dev/pcctwo_68k.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/mvme68k/stand/wrtvid

2019-01-07 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jan  8 00:00:53 UTC 2019

Modified Files:
src/sys/arch/mvme68k/stand/wrtvid: wrtvid.c

Log Message:
Include unistd.h for write(2) and close(2).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mvme68k/stand/wrtvid/wrtvid.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/mvme68k/stand/netboot

2016-06-10 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jun 11 06:33:30 UTC 2016

Modified Files:
src/sys/arch/mvme68k/stand/netboot: boot.c

Log Message:
PR 51200 gets in libsa considered harmful: use kgets


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mvme68k/stand/netboot/boot.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/mvme68k/stand/bootst

2016-06-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jun  5 17:37:36 UTC 2016

Modified Files:
src/sys/arch/mvme68k/stand/bootst: boot.c

Log Message:
use gets_s


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mvme68k/stand/bootst/boot.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/mvme68k/mvme68k

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:25:46 UTC 2016

Modified Files:
src/sys/arch/mvme68k/mvme68k: machdep.c

Log Message:
PR 50792 David Binderman: make sure we don't divide by zero.

The loop that picks delay_divisor might conceivably reject all values,
particularly if the hardware is sulking for some reason; in that case
it'll be left zero. Use 1 instead of 0 so we don't then crash.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/arch/mvme68k/mvme68k/machdep.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/mvme68k/stand/installboot

2016-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 25 21:58:02 UTC 2016

Modified Files:
src/sys/arch/mvme68k/stand/installboot: Makefile

Log Message:
uses _KERNTYPES


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvme68k/stand/installboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/stand/libbug

2014-11-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 21 20:21:08 UTC 2014

Modified Files:
src/sys/arch/mvme68k/stand/libbug: Makefile

Log Message:
We don't need a special rule now that the file is called .S (having a
just .o rule before broke the MKDEBUG build).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvme68k/stand/libbug/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/stand/sboot

2014-11-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 21 20:13:19 UTC 2014

Modified Files:
src/sys/arch/mvme68k/stand/sboot: Makefile

Log Message:
Add libkern for umoddi3 needed for correct leap yar computation in is_leap_year.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mvme68k/stand/sboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/stand/libbug

2014-11-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 21 20:10:28 UTC 2014

Modified Files:
src/sys/arch/mvme68k/stand/libbug: Makefile
Added Files:
src/sys/arch/mvme68k/stand/libbug: bugstart.S
Removed Files:
src/sys/arch/mvme68k/stand/libbug: bugstart.s

Log Message:
rename to bugstart.S


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mvme68k/stand/libbug/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/arch/mvme68k/stand/libbug/bugstart.S
cvs rdiff -u -r1.2 -r0 src/sys/arch/mvme68k/stand/libbug/bugstart.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/stand/libsa

2014-11-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 20 15:50:25 UTC 2014

Modified Files:
src/sys/arch/mvme68k/stand/libsa: chiptotime.c

Log Message:
this needs clock.h


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mvme68k/stand/libsa/chiptotime.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/mvme68k/stand/installboot

2014-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 21 16:33:48 UTC 2014

Modified Files:
src/sys/arch/mvme68k/stand/installboot: installboot.c

Log Message:
remove dead code


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 \
src/sys/arch/mvme68k/stand/installboot/installboot.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/mvme68k/conf

2014-04-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Apr  5 11:07:30 UTC 2014

Modified Files:
src/sys/arch/mvme68k/conf: Makefile.mvme68k

Log Message:
Specify both -Wa,-march=68030 and -Wa,-mcpu=68030 in -m68060 case for gcc45.

Now VME177 builds with both gcc45 and gcc48
(though untested on the real machines).

XXX: is it really worth to use -m68060 (instead of -m68020-60)
 for kernel binaries?


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/mvme68k/conf/Makefile.mvme68k

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/conf

2014-03-30 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Mar 30 15:54:38 UTC 2014

Modified Files:
src/sys/arch/mvme68k/conf: Makefile.mvme68k

Log Message:
Fix "Error: unrecognized option -mcpu68030".


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/mvme68k/conf/Makefile.mvme68k

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k

2014-03-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 30 15:20:54 UTC 2014

Modified Files:
src/sys/arch/mvme68k/conf: Makefile.mvme68k
src/sys/arch/mvme68k/include: loadfile_machdep.h
src/sys/arch/mvme68k/stand/bootst: dev_tape.c

Log Message:
fixes for gcc-4.8 (John D. Baker)


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/mvme68k/conf/Makefile.mvme68k
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mvme68k/include/loadfile_machdep.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mvme68k/stand/bootst/dev_tape.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/mvme68k

2014-03-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar 24 19:52:27 UTC 2014

Modified Files:
src/sys/arch/mvme68k/dev: sbic.c
src/sys/arch/mvme68k/mvme68k: machdep.c trap.c

Log Message:
use cpu_{g,s}etmodel
fix unused


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/mvme68k/dev/sbic.c
cvs rdiff -u -r1.152 -r1.153 src/sys/arch/mvme68k/mvme68k/machdep.c
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/mvme68k/mvme68k/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/mvme68k/mvme68k

2014-03-15 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Mar 15 12:04:22 UTC 2014

Modified Files:
src/sys/arch/mvme68k/mvme68k: locore.s

Log Message:
Use common m68k/busaddrerr.s for bus error and address error handlers.

No binary changes on GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/mvme68k/mvme68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/mvme68k

2014-03-15 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Mar 15 12:02:28 UTC 2014

Modified Files:
src/sys/arch/mvme68k/mvme68k: locore.s

Log Message:
Remove duplicated INTERRUPT_SAVEREG and INTERRUPT_RESTOREREG macro.

They are in  and now using different register format.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/mvme68k/mvme68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/mvme68k

2014-03-09 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Mar  9 14:53:52 UTC 2014

Modified Files:
src/sys/arch/mvme68k/mvme68k: locore.s

Log Message:
Remove trailing spaces and tabs.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/arch/mvme68k/mvme68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k

2013-09-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon Sep 23 01:39:27 UTC 2013

Modified Files:
src/sys/arch/mvme68k/include: prom.h
src/sys/arch/mvme68k/stand/libbug: outln.c outstr.c

Log Message:
Make MVMEPROM_ARG2() macro take two args in a single asm statement.

Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg84.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg85.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg95.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg97.html
No error on "build.sh -m mvme68k build" builds.

Should be pulled up to netbsd-6 branches.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvme68k/include/prom.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mvme68k/stand/libbug/outln.c \
src/sys/arch/mvme68k/stand/libbug/outstr.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/mvme68k/stand

2013-09-21 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Sep 21 08:32:39 UTC 2013

Modified Files:
src/sys/arch/mvme68k/stand: Makefile.booters
src/sys/arch/mvme68k/stand/libsa: Makefile Makefile.inc

Log Message:
Explicitly link SRT0.o (Standalone RunTime startup code) first.

This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.

The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg82.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.

Should be pulled up to netbsd-6 branches.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/mvme68k/stand/Makefile.booters
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/mvme68k/stand/libsa/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mvme68k/stand/libsa/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/mvme68k

2013-09-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Sep 19 12:04:36 UTC 2013

Modified Files:
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c

Log Message:
Move physmem calculations before nptpage initialization.

Fixes mvme68k specific part of PR port-m68k/45915
(panic: pmap_enter_ptpage: can't get KPT page).
Reported and confirmed by Andrew Gillham on his MVME177:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg82.html

Should be pulled up to all netbsd-6 branches.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.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/mvme68k/stand/installboot

2013-08-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug 21 06:58:58 UTC 2013

Modified Files:
src/sys/arch/mvme68k/stand/installboot: Makefile

Log Message:
Use 


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mvme68k/stand/installboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/stand/sboot

2011-09-29 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Sep 29 09:18:17 UTC 2011

Modified Files:
src/sys/arch/mvme68k/stand/sboot: etherfun.c

Log Message:
Drop the "static" from the HEXDIGITS declaration, now that there's an
extern definition in sys/systm.h, to allow this to continue to build.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/mvme68k/stand/sboot/etherfun.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/mvme68k/stand/libsa

2011-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun May 29 10:29:01 UTC 2011

Modified Files:
src/sys/arch/mvme68k/stand/libsa: exec_mvme.c

Log Message:
Avoid backward seek on tape boot.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mvme68k/stand/libsa/exec_mvme.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/mvme68k/mvme68k

2011-01-01 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan  2 06:25:23 UTC 2011

Modified Files:
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c

Log Message:
Some cosmetics to reduce diffs from other m68k ports.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.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/mvme68k

2011-01-01 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan  2 06:15:04 UTC 2011

Modified Files:
src/sys/arch/mvme68k/include: vmparam.h
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c

Log Message:
Remove "last kernel PT page" stuff derived from hp300 where PA != VA.

Compile test only, but same changes as other PA == VA m68k ports like
luna68k, news68k, and x68k used for a decade.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/mvme68k/include/vmparam.h
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.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/mvme68k/stand

2011-01-01 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan  2 05:30:12 UTC 2011

Modified Files:
src/sys/arch/mvme68k/stand: Makefile.booters
src/sys/arch/mvme68k/stand/bootsd: Makefile version
src/sys/arch/mvme68k/stand/bootst: Makefile version
src/sys/arch/mvme68k/stand/bootxx: Makefile version
src/sys/arch/mvme68k/stand/libsa: Makefile
src/sys/arch/mvme68k/stand/netboot: Makefile version
src/sys/arch/mvme68k/stand/sboot: version
Added Files:
src/sys/arch/mvme68k/stand/libsa: Makefile.inc

Log Message:
Switch mvme68k standalone problams to using MI libsa and libkern
for maintainablility. Also bump version for note.

Compile test only, but no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/mvme68k/stand/Makefile.booters
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mvme68k/stand/bootsd/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mvme68k/stand/bootsd/version
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mvme68k/stand/bootst/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mvme68k/stand/bootst/version
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mvme68k/stand/bootxx/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mvme68k/stand/bootxx/version
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/mvme68k/stand/libsa/Makefile
cvs rdiff -u -r0 -r1.5 src/sys/arch/mvme68k/stand/libsa/Makefile.inc
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mvme68k/stand/netboot/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mvme68k/stand/netboot/version
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mvme68k/stand/sboot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/mvme68k/mvme68k

2010-12-25 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Dec 25 16:14:44 UTC 2010

Modified Files:
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c

Log Message:
Put somehow missed code part in rev 1.36:
> Allocate lwp0upa (PA of lwp0 uarea) right after kernel rather than
> between other page tables to use different mappings for ste/pte pages
> as well as amiga and atari.  Should resolve XXX comments in next68k and x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.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/mvme68k/mvme68k

2010-12-25 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Dec 25 15:29:34 UTC 2010

Modified Files:
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c

Log Message:
Fix harmless pasto and tweak some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.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/mvme68k/stand/libsa

2010-03-15 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Mon Mar 15 16:13:13 UTC 2010

Modified Files:
src/sys/arch/mvme68k/stand/libsa: Makefile

Log Message:
Latest change to loadfile_elf32.c grew a dependency on strncmp,
so provide that as well as part of libsa for this platform.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mvme68k/stand/libsa/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.