CVS commit: src/sys/arch/mac68k/mac68k

2024-06-06 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Jun 7 02:51:45 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Relax the video size sanity check. If stride and height are defined, compute the required size. Fixes external video on my Powerbook

CVS commit: src/sys/arch/mac68k/mac68k

2024-06-06 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Jun 7 02:51:45 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Relax the video size sanity check. If stride and height are defined, compute the required size. Fixes external video on my Powerbook

CVS commit: src/sys/arch/mac68k/mac68k

2024-01-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 12:43:43 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: get_physical(): Use bit defs from To generate a diff of this commit: cvs rdiff -u -r1.365 -r1.366

CVS commit: src/sys/arch/mac68k/mac68k

2024-01-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 12:43:43 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: get_physical(): Use bit defs from To generate a diff of this commit: cvs rdiff -u -r1.365 -r1.366

CVS commit: src/sys/arch/mac68k/mac68k

2023-10-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Oct 1 21:04:10 UTC 2023 Modified Files: src/sys/arch/mac68k/mac68k: vectors.s Log Message: remove unncessary leading space in #ifdef FPSP block. remove one trailing whitespace. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/mac68k/mac68k

2023-10-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Oct 1 21:04:10 UTC 2023 Modified Files: src/sys/arch/mac68k/mac68k: vectors.s Log Message: remove unncessary leading space in #ifdef FPSP block. remove one trailing whitespace. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/mac68k/mac68k

2023-09-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Sep 23 13:45:50 UTC 2023 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: pass just l param to exec_aout_prep_oldzmagic instead of l->l_proc. In a huge "merge ktrace-lwp." commit struct proc was changed by

CVS commit: src/sys/arch/mac68k/mac68k

2023-09-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Sep 23 13:45:50 UTC 2023 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: pass just l param to exec_aout_prep_oldzmagic instead of l->l_proc. In a huge "merge ktrace-lwp." commit struct proc was changed by

CVS commit: src/sys/arch/mac68k/mac68k

2022-12-25 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 26 01:05:36 UTC 2022 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Sanity check and set the framebuffer length if necessary. Addresses PR 57126. To generate a diff of this commit: cvs rdiff -u -r1.363

CVS commit: src/sys/arch/mac68k/mac68k

2022-12-25 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 26 01:05:36 UTC 2022 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Sanity check and set the framebuffer length if necessary. Addresses PR 57126. To generate a diff of this commit: cvs rdiff -u -r1.363

CVS commit: src/sys/arch/mac68k/mac68k

2021-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 28 02:28:06 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Change sccA address for Quadra 800 from base + 0xc000 to 0xc020. The H/W partially decodes its address, and sccA is available at

CVS commit: src/sys/arch/mac68k/mac68k

2021-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 28 02:28:06 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Change sccA address for Quadra 800 from base + 0xc000 to 0xc020. The H/W partially decodes its address, and sccA is available at

CVS commit: src/sys/arch/mac68k/mac68k

2021-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 28 02:00:59 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Make mac68k_set_io_offsets() a little bit cleaner: - Via1Base is always ``base'' for all supported models. - Set sccA and SCSIBase for

CVS commit: src/sys/arch/mac68k/mac68k

2021-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 28 02:00:59 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Make mac68k_set_io_offsets() a little bit cleaner: - Via1Base is always ``base'' for all supported models. - Set sccA and SCSIBase for

CVS commit: src/sys/arch/mac68k/mac68k

2021-03-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Mar 14 03:25:01 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: locore.s Log Message: Fix DJMEMCMAX option for Quadra/Centris 650/800. - Use jeq instead of jra for conditional branch. - Use cmpl instead of cmp (= cmpw) for

CVS commit: src/sys/arch/mac68k/mac68k

2021-03-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Mar 14 03:25:01 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: locore.s Log Message: Fix DJMEMCMAX option for Quadra/Centris 650/800. - Use jeq instead of jra for conditional branch. - Use cmpl instead of cmp (= cmpw) for

CVS commit: src/sys/arch/mac68k/mac68k

2021-02-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 26 10:47:24 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Sort opt_*.h. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.358 -r1.359 src/sys/arch/mac68k/mac68k/machdep.c

CVS commit: src/sys/arch/mac68k/mac68k

2021-02-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 26 10:47:24 UTC 2021 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Sort opt_*.h. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.358 -r1.359 src/sys/arch/mac68k/mac68k/machdep.c

CVS commit: src/sys/arch/mac68k/mac68k

2020-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Jul 21 06:10:26 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: intr.c locore.s via.c Log Message: For GCC8, do not omit frame pointer for intr_dispatch() and via1_intr() (-fomit-frame-pointer is enabled for -O and higher

CVS commit: src/sys/arch/mac68k/mac68k

2020-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Jul 21 06:10:26 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: intr.c locore.s via.c Log Message: For GCC8, do not omit frame pointer for intr_dispatch() and via1_intr() (-fomit-frame-pointer is enabled for -O and higher

CVS commit: src/sys/arch/mac68k/mac68k

2020-07-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Jul 21 05:45:38 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: locore.s Log Message: Align tmpstk to 4-byte boundary as required by System V (ELF) ABI. Fix GCC8-compiled kernel crash during very early boot stage when

CVS commit: src/sys/arch/mac68k/mac68k

2020-07-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Jul 21 05:45:38 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: locore.s Log Message: Align tmpstk to 4-byte boundary as required by System V (ELF) ABI. Fix GCC8-compiled kernel crash during very early boot stage when

CVS commit: src/sys/arch/mac68k/mac68k

2020-06-19 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jun 19 16:30:31 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: pram.c Log Message: KNF. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/mac68k/mac68k/pram.c Please note that diffs are not

CVS commit: src/sys/arch/mac68k/mac68k

2020-06-19 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jun 19 16:30:31 UTC 2020 Modified Files: src/sys/arch/mac68k/mac68k: pram.c Log Message: KNF. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/mac68k/mac68k/pram.c Please note that diffs are not

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 22 12:47:57 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: clock.c Log Message: Adjust GMT bias automatically by using data obtained from Mac OS, unless RTC_OFFSET is set explicitly. To generate a diff of this

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 22 12:47:57 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: clock.c Log Message: Adjust GMT bias automatically by using data obtained from Mac OS, unless RTC_OFFSET is set explicitly. To generate a diff of this

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 07:05:16 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c pmap_bootstrap.c Log Message: 0x%p ---> %p To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355 src/sys/arch/mac68k/mac68k/machdep.c cvs

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 07:05:16 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c pmap_bootstrap.c Log Message: 0x%p ---> %p To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355 src/sys/arch/mac68k/mac68k/machdep.c cvs

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 07:03:55 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: We've switched to 8KB page. XXX pullup to netbsd-9 To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354

CVS commit: src/sys/arch/mac68k/mac68k

2019-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 07:03:55 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: We've switched to 8KB page. XXX pullup to netbsd-9 To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354

Re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread Christos Zoulas
In article <21181.1550538...@splode.eterna.com.au>, matthew green wrote: >Christos Zoulas writes: >> In article <20190219003451.093b2f...@cvs.netbsd.org>, >> matthew green wrote: >> >-=-=-=-=-=- >> >> >+ memcpy(intrnames, inames, MAX_INAME_LENGTH); >> >> That should be: >>

re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread matthew green
Christos Zoulas writes: > In article <20190219003451.093b2f...@cvs.netbsd.org>, > matthew green wrote: > >-=-=-=-=-=- > > >+memcpy(intrnames, inames, MAX_INAME_LENGTH); > > That should be: > memcpy(intrnames, inames, sizeof(intrnames)); well. maybe. but it's not really any better.

Re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread Christos Zoulas
In article <20190219003451.093b2f...@cvs.netbsd.org>, matthew green wrote: >-=-=-=-=-=- >+ memcpy(intrnames, inames, MAX_INAME_LENGTH); That should be: memcpy(intrnames, inames, sizeof(intrnames)); christos

CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 19 00:34:50 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: intr.c Log Message: convert 'extern long intrnames' to 'extern char intrnames[MAX_INAME_LENGTH]'. also, assert that MAX_INAME_LENGTH is not larger than

CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 19 00:34:50 UTC 2019 Modified Files: src/sys/arch/mac68k/mac68k: intr.c Log Message: convert 'extern long intrnames' to 'extern char intrnames[MAX_INAME_LENGTH]'. also, assert that MAX_INAME_LENGTH is not larger than

CVS commit: src/sys/arch/mac68k/mac68k

2017-11-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 7 14:56:03 UTC 2017 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Don't define ELFSIZE To generate a diff of this commit: cvs rdiff -u -r1.351 -r1.352 src/sys/arch/mac68k/mac68k/machdep.c Please

CVS commit: src/sys/arch/mac68k/mac68k

2017-08-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Aug 15 09:26:56 UTC 2017 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Remove dead code. it isn't possible to do non-__ELF__ build To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351

CVS commit: src/sys/arch/mac68k/mac68k

2017-08-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Aug 15 09:26:56 UTC 2017 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Remove dead code. it isn't possible to do non-__ELF__ build To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351

CVS commit: src/sys/arch/mac68k/mac68k

2017-04-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 3 17:36:17 UTC 2017 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: PR/52134: David Binderman: Fix loop bounds checking. To generate a diff of this commit: cvs rdiff -u -r1.349 -r1.350

CVS commit: src/sys/arch/mac68k/mac68k

2017-04-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 3 17:36:17 UTC 2017 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: PR/52134: David Binderman: Fix loop bounds checking. To generate a diff of this commit: cvs rdiff -u -r1.349 -r1.350

CVS commit: src/sys/arch/mac68k/mac68k

2015-03-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Mar 3 20:36:31 UTC 2015 Modified Files: src/sys/arch/mac68k/mac68k: trap.c Log Message: Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF. To generate a diff of this commit: cvs rdiff -u -r1.146

CVS commit: src/sys/arch/mac68k/mac68k

2015-03-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Mar 3 20:36:31 UTC 2015 Modified Files: src/sys/arch/mac68k/mac68k: trap.c Log Message: Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF. To generate a diff of this commit: cvs rdiff -u -r1.146

CVS commit: src/sys/arch/mac68k/mac68k

2014-03-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 26 17:46:04 UTC 2014 Modified Files: src/sys/arch/mac68k/mac68k: pram.c Log Message: kill sprintf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/mac68k/mac68k/pram.c Please note that diffs

CVS commit: src/sys/arch/mac68k/mac68k

2014-03-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 26 17:46:04 UTC 2014 Modified Files: src/sys/arch/mac68k/mac68k: pram.c Log Message: kill sprintf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/mac68k/mac68k/pram.c Please note that diffs

CVS commit: src/sys/arch/mac68k/mac68k

2014-03-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Mar 15 12:11:23 UTC 2014 Modified Files: src/sys/arch/mac68k/mac68k: 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

CVS commit: src/sys/arch/mac68k/mac68k

2014-03-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Mar 15 12:11:23 UTC 2014 Modified Files: src/sys/arch/mac68k/mac68k: 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

CVS commit: src/sys/arch/mac68k/mac68k

2013-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Oct 19 19:08:39 UTC 2013 Modified Files: src/sys/arch/mac68k/mac68k: bus_space.c Log Message: Avoid unused variables To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mac68k/mac68k/bus_space.c

CVS commit: src/sys/arch/mac68k/mac68k

2012-08-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 4 17:18:39 UTC 2012 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: No need to statically initialize physmem here, it is set to the correct value in pmap_bootstrap(), which is early enough. Tested on

CVS commit: src/sys/arch/mac68k/mac68k

2012-08-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 4 17:18:39 UTC 2012 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: No need to statically initialize physmem here, it is set to the correct value in pmap_bootstrap(), which is early enough. Tested on

CVS commit: src/sys/arch/mac68k/mac68k

2011-01-02 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 2 18:16:59 UTC 2011 Modified Files: src/sys/arch/mac68k/mac68k: pmap_bootstrap.c Log Message: Pull code that maps the kernel segment table cache invalidated for 040/060, to reduce diffs from other m68k ports. Tested on

CVS commit: src/sys/arch/mac68k/mac68k

2011-01-02 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 2 18:16:59 UTC 2011 Modified Files: src/sys/arch/mac68k/mac68k: pmap_bootstrap.c Log Message: Pull code that maps the kernel segment table cache invalidated for 040/060, to reduce diffs from other m68k ports. Tested on

CVS commit: src/sys/arch/mac68k/mac68k

2010-03-02 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Mar 2 15:01:04 UTC 2010 Modified Files: src/sys/arch/mac68k/mac68k: pmap_bootstrap.c Log Message: A variable protostfree is only declared for M68040 or M68060 kernels, so it should also be wrapped with #ifdef M68040/#endif

CVS commit: src/sys/arch/mac68k/mac68k

2009-12-04 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Dec 4 16:57:18 UTC 2009 Modified Files: src/sys/arch/mac68k/mac68k: locore.s pmap_bootstrap.c Log Message: Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc. Tested on LC630. To generate a diff of this