CVS commit: src/sys/arch/sh3/sh3

2021-07-26 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jul 26 21:43:11 UTC 2021 Modified Files: src/sys/arch/sh3/sh3: exception_vector.S pmap.c Log Message: Revert rename back to OFSET, since the name follows historical PGOFSET definition. Noted by tsutsui. To generate a diff o

CVS commit: src/sys/arch/sh3/sh3

2021-07-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Jul 15 04:58:33 UTC 2021 Modified Files: src/sys/arch/sh3/sh3: locore_subr.S Log Message: For cpu_switchto(), inherit PSL_IMASK field of SR between lwp's. Otherwise, IPL is lost during context switch, which allows improper inter

CVS commit: src/sys/arch/sh3/dev

2020-11-21 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Nov 21 17:25:52 UTC 2020 Modified Files: src/sys/arch/sh3/dev: sci.c scif.c Log Message: malloc(9) -> kmem(9) To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/sh3/dev/sci.c cvs rdiff -u -r1.67 -r1.

CVS commit: src/sys/arch/sh3/sh3

2020-10-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Oct 15 18:58:59 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: process_machdep.c Log Message: Add missing 'error' declaration To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sh3/sh3/process_machdep

CVS commit: src/sys/arch/sh3/include

2020-09-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Sep 14 05:04:05 UTC 2020 Modified Files: src/sys/arch/sh3/include: ptrace.h Log Message: apply some parens to make macros safe. fixes GCC 9 sanitizer issues. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sy

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 4 02:09:58 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: pmb.c Log Message: st40_pmb_dump - factor out. Print the WT bit as either "WT" or "CB" when C is set, as "--" otherwise. Few other minor tweaks. To generate a dif

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 4 01:55:16 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: Avoid inline RUN_P2 when accessing TLB via memory mapped arrays. Move code that needs to run from P2 into separate functions and call them via

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 23:01:47 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: sh4_mmu_start - cosmetics. Split construction of the initial MMUCR value into several assignments for readability. Same object code is genera

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 22:43:53 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: sh4_mmu_start - call sh4_tlb_invalidate_all directly. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sh3/sh3/mmu_

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 22:28:39 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: sh4_tlb_invalidate_addr - refactor to avoid RUN_P2. Introduce __sh4_tlb_assoc that performs the associative write. Call it from sh4_tlb_inval

CVS commit: src/sys/arch/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 21:53:25 UTC 2020 Modified Files: src/sys/arch/sh3/include: cpu.h src/sys/arch/sh3/sh3: db_interface.c Log Message: SH3_P2SEG_FUNC(f) - get a P2 address of a function. Just SH3_P1SEG_TO_P2SEG + cast, but we now de

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 19:24:29 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: sh4_tlb_invalidate_addr - use the right constant. VPN mask happens to be the same in many registers, but since we are writing the value to UTL

CVS commit: src/sys/arch/sh3/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 19:08:55 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: mmu_sh4.c Log Message: Split compound assertion into several, one for each term. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/sh3/

CVS commit: src/sys/arch/sh3

2020-08-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 16:43:44 UTC 2020 Modified Files: src/sys/arch/sh3/include: psl.h src/sys/arch/sh3/sh3: clock.c locore_subr.S mmu_sh4.c Log Message: _cpu_exception_suspend - return old SR In a typical use case we do a very short

CVS commit: src/sys/arch/sh3/sh3

2020-08-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 03:34:11 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: locore_subr.S Log Message: _cpu_exception_suspend, _cpu_exception_resume - cosmetics Use PSL_BL instead of magic hex in comments. Use spaces between operands. Same

CVS commit: src/sys/arch/sh3/sh3

2020-08-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 01:56:19 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: db_interface.c Log Message: db_tlbdump_cmd - get rid of RUN_P2/P1, use functions instead. Move the bits of code to read TLB entries into separate functions and call

CVS commit: src/sys/arch/sh3/sh3

2020-08-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 01:18:45 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: db_interface.c Log Message: Declare __db_cachedump_sh3/sh4 __noinline too. Previous commit only did that for the definitions. Forgot to apply the attribute to the d

CVS commit: src/sys/arch/sh3/sh3

2020-08-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Aug 3 01:14:26 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: db_interface.c Log Message: db_cachedump_cmd - call the dump function via P2 directly. Instead of calling RUN_P2 at the very beginning of both cpu-specific cache dum

CVS commit: src/sys/arch/sh3/sh3

2020-08-01 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Aug 1 20:54:23 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: pmap_unwire - deobfuscate. Don't hide assignments inside if (). Remove redundant entry == 0 test b/c _PG_WIRED test afterwards covers that and t

CVS commit: src/sys/arch/sh3/include

2020-07-30 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 30 21:25:43 UTC 2020 Modified Files: src/sys/arch/sh3/include: pmb.h Log Message: Publicly declare st40_pmb_init(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sh3/include/pmb.h Please note tha

CVS commit: src/sys/arch/sh3/include

2020-07-30 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 30 20:59:09 UTC 2020 Modified Files: src/sys/arch/sh3/include: pmb.h Log Message: ST40_PMB_DA_BITS - all values for the non-continuous size field. Size field has two reserved bits in the middle. Don't depend on them being z

CVS commit: src/sys/arch/sh3/sh3

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 30 03:57:52 UTC 2020 Added Files: src/sys/arch/sh3/sh3: pmb.c Log Message: Code to dump PMB contents. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sh3/sh3/pmb.c Please note that diffs are not publ

CVS commit: src/sys/arch/sh3/include

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 30 03:19:34 UTC 2020 Modified Files: src/sys/arch/sh3/include: pmb.h Log Message: Add snprintb formats. Fix PASCR name. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sh3/include/pmb.h Please not

CVS commit: src/sys/arch/sh3/include

2020-07-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jul 28 01:40:43 UTC 2020 Modified Files: src/sys/arch/sh3/include: cputypes.h Log Message: _LKM -> _MODULE To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sh3/include/cputypes.h Please note that di

CVS commit: src/sys/arch/sh3/include

2020-07-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Jul 25 22:59:55 UTC 2020 Modified Files: src/sys/arch/sh3/include: cputypes.h Log Message: Define CPU_PRODUCT_STX7105. I'm not sure if this should rather be named CPU_PRODUCT_ST40_300, but that's probably too general. These con

CVS commit: src/sys/arch/sh3/include

2020-07-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Jul 25 22:26:59 UTC 2020 Added Files: src/sys/arch/sh3/include: pmb.h Log Message: Definitions for ST40 Privileged Mapping Buffer. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sh3/include/pmb.h Please

CVS commit: src/sys/arch/sh3/include

2020-07-10 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Jul 11 03:53:32 UTC 2020 Modified Files: src/sys/arch/sh3/include: clock.h Log Message: Fix doc comment for sh_clock_init. Forgot to update it back in 2006 when sh3 ports were converted to todr(9) and its second argument (struct

CVS commit: src/sys/arch/sh3/include

2020-01-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jan 7 07:41:20 UTC 2020 Modified Files: src/sys/arch/sh3/include: userret.h Log Message: Fix indentation. NFCI To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sh3/include/userret.h Please note tha

CVS commit: src/sys/arch/sh3/sh3

2019-12-03 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Dec 3 12:42:21 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: One more tweak. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/arch/sh3/sh3/exception.c Please note that diffs are n

CVS commit: src/sys/arch/sh3/sh3

2019-12-03 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Dec 3 12:39:00 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: tlb_exception: in slow path, check for usermode before calling userret(). To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/

CVS commit: src/sys/arch/sh3

2019-12-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 1 12:19:28 UTC 2019 Modified Files: src/sys/arch/sh3/include: userret.h src/sys/arch/sh3/sh3: exception.c exception_vector.S Log Message: sh3: make ASTs work as expected, and fix a few things in the TLB refill path. W

CVS commit: src/sys/arch/sh3/sh3

2019-05-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu May 9 16:48:31 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: db_trace.c Log Message: fix backtrace. it was broken. - use db_read_bytes() to avoid faults. - quite a few functions do not use frame pointers, therefore always det

CVS commit: src/sys/arch/sh3/sh3

2019-04-08 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Apr 9 00:36:55 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: kobj_machdep.c Log Message: Fix previous. P is the final (relocated) address not just the offset. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/s

CVS commit: src/sys/arch/sh3/sh3

2019-04-08 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Apr 9 00:16:30 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: kobj_machdep.c Log Message: Support R_SH_REL32 (encountered in .eh_frame). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sh3/sh3/kobj_mac

CVS commit: src/sys/arch/sh3/include

2019-01-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jan 8 20:08:28 UTC 2019 Modified Files: src/sys/arch/sh3/include: proc.h Log Message: remove include, nothing from it is actually used here To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sh3/i

CVS commit: src/sys/arch/sh3/include

2017-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 29 17:43:20 UTC 2017 Modified Files: src/sys/arch/sh3/include: signal.h Log Message: need for sigset_t To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sh3/include/signal.h Please note that

CVS commit: src/sys/arch/sh3/sh3

2017-10-21 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Oct 22 03:29:23 UTC 2017 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: tlb_exception - set ksi_addr to va also when a userland page is not found. Helps SIGSEGV handlers for PROT_NONE red zones. To generate a di

CVS commit: src/sys/arch/sh3/sh3

2017-06-20 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jun 20 23:20:01 UTC 2017 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: Use vmspace::vm_minsaddr instead of hardcoding USRSTACK. Requested by joerg@. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65

CVS commit: src/sys/arch/sh3/sh3

2017-02-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Feb 2 21:35:29 UTC 2017 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: pmap_steal_memory - a few more s/start/avail_start/ fixes for the hotplug conversion. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1

CVS commit: src/sys/arch/sh3/sh3

2017-02-02 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Feb 2 21:17:40 UTC 2017 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: pmap_steal_memory - s/start/avail_start/ to fix mistake in the hotplug conversion. The kernel now panics (can't unplug memory from the middle of

CVS commit: src/sys/arch/sh3/sh3

2016-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 24 17:18:00 UTC 2016 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: Use the correct page frame number to steal pages during boot. Fixes the related sh3 kernel build breakage. To generate a diff of this commit

CVS commit: src/sys/arch/sh3/include

2016-12-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Dec 5 12:42:33 UTC 2016 Modified Files: src/sys/arch/sh3/include: elf_machdep.h Log Message: binutils decided to shuffle around its extensions a long time ago. Since we don't actually use them for anything, follow them. To g

CVS commit: src/sys/arch/sh3

2016-09-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 3 09:07:54 UTC 2016 Modified Files: src/sys/arch/sh3/include: pmap.h vmparam.h src/sys/arch/sh3/sh3: pmap.c Log Message: Fix pmap_prefer for topdown and turn topdown on. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/sh3/include

2016-08-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 25 12:29:15 UTC 2016 Modified Files: src/sys/arch/sh3/include: fenv.h ieeefp.h Log Message: fake some stuff for softfloat. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sh3/include/fenv.h cvs

CVS commit: src/sys/arch/sh3/include

2016-08-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 25 12:19:42 UTC 2016 Modified Files: src/sys/arch/sh3/include: ieeefp.h Log Message: use fenv.h To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sh3/include/ieeefp.h Please note that diffs are

CVS commit: src/sys/arch/sh3/dev

2015-12-06 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Dec 6 02:21:55 UTC 2015 Modified Files: src/sys/arch/sh3/dev: scif.c Log Message: Make options SCIFCONSOLE patchable via a variable using gdb(1) etc. Tested on dreamcast. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/arch/sh3/sh3

2015-03-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Mar 4 09:39:26 UTC 2015 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF. >From martin@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sh3/sh3

2015-02-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 15 10:48:13 UTC 2015 Modified Files: src/sys/arch/sh3/sh3: locore_subr.S Log Message: port-sh3/49613: errno does not set by some systemcall at error case Branch to correct point when error detected. To generate a diff of

CVS commit: src/sys/arch/sh3/sh3

2015-01-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 6 17:43:16 UTC 2015 Modified Files: src/sys/arch/sh3/sh3: cpu_in_cksum.S Log Message: We never want the c definitions in To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sh3/sh3/cpu_in_cksum.S

CVS commit: src/sys/arch/sh3/include

2014-10-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 23 19:39:43 UTC 2014 Modified Files: src/sys/arch/sh3/include: elf_machdep.h Log Message: instead of bitching about the missing endianness, get it. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/

CVS commit: src/sys/arch/sh3/dev

2014-09-08 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Sep 8 10:00:18 UTC 2014 Modified Files: src/sys/arch/sh3/dev: rtc.c Log Message: Adapt formats for debug printfs to clock_subr type changes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sh3/dev/r

CVS commit: src/sys/arch/sh3/dev

2014-06-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 19 18:01:18 UTC 2014 Modified Files: src/sys/arch/sh3/dev: sci.c Log Message: fix -Werror=unused-but-set-variable compile error To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/sh3/dev/sci.c P

CVS commit: src/sys/arch/sh3/sh3

2014-03-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 20 18:01:19 UTC 2014 Modified Files: src/sys/arch/sh3/sh3: db_disasm.c Log Message: kill sprintf To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sh3/sh3/db_disasm.c Please note that diffs ar

CVS commit: src/sys/arch/sh3/sh3

2013-11-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Nov 18 15:34:06 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: cache.c Log Message: Really remove unused variable. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sh3/sh3/cache.c Please note that d

CVS commit: src/sys/arch/sh3/sh3

2013-11-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 14 13:54:08 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: cache.c Log Message: Removed unused variable To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sh3/sh3/cache.c Please note that diffs ar

CVS commit: src/sys/arch/sh3/dev

2013-11-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 9 21:31:45 UTC 2013 Modified Files: src/sys/arch/sh3/dev: scif.c Log Message: fixed unused variable warning To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sh3/dev/scif.c Please note that d

CVS commit: src/sys/arch/sh3/sh3

2013-11-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 9 02:23:57 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: db_trace.c Log Message: remove unused code To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/sh3/sh3/db_trace.c Please note that diff

CVS commit: src/sys/arch/sh3/sh3

2013-11-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 7 21:45:04 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: cache.c vm_machdep.c Log Message: fix unused variables To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sh3/sh3/cache.c cvs rdiff -u

CVS commit: src/sys/arch/sh3/sh3

2013-08-06 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 6 21:41:01 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: db_trace.c Log Message: db_stack_trace_print: support trace/[at], starting trace from switchframe. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src

CVS commit: src/sys/arch/sh3/sh3

2013-06-26 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Jun 26 16:28:51 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: syscall.c Log Message: Collapse syscall_fancy/syscall_plain to syscall and p_trace_enabled. Use sy_invoke To generate a diff of this commit: cvs rdiff -u -r1.14 -r

CVS commit: src/sys/arch/sh3/include

2013-05-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu May 16 18:47:38 UTC 2013 Modified Files: src/sys/arch/sh3/include: disklabel.h Log Message: name it like other ports do To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sh3/include/disklabel.h Plea

CVS commit: src/sys/arch/sh3/sh3

2013-05-14 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue May 14 14:11:43 UTC 2013 Modified Files: src/sys/arch/sh3/sh3: cache_sh4.c Log Message: Don't call sh4_icache_sync_all() before sh_cache_ops is initialized. Instead, use SH4_EMODE_CACHE_FLUSH() or SH4_CACHE_FLUSH() macro to i

CVS commit: src/sys/arch/sh3/include

2013-05-14 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue May 14 13:53:47 UTC 2013 Modified Files: src/sys/arch/sh3/include: scireg.h Log Message: Add a definition of SCSCMR1, smart card mode register available on 7750 etc. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1

CVS commit: src/sys/arch/sh3/sh3

2012-12-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Dec 12 16:24:49 UTC 2012 Modified Files: src/sys/arch/sh3/sh3: cache_sh4.c Log Message: Sprinkle redundant comments about PAD_P1_SWITCH to avoid stupid confusion. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.2

CVS commit: src/sys/arch/sh3/sh3

2012-12-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Dec 12 15:43:44 UTC 2012 Modified Files: src/sys/arch/sh3/sh3: cache_sh4.c Log Message: Revert part of the previous (reverting RUN_P1 -> PAD_P1_SWITCH again). We can assume all icache ops are called from (and will return to)

CVS commit: src/sys/arch/sh3/sh3

2012-12-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Dec 12 13:34:49 UTC 2012 Modified Files: src/sys/arch/sh3/sh3: cache_sh4.c Log Message: Fix fallouts in rev 1.19: http://www.nerv.org/~ryo/netbsd/netbsd/?q=id:20080316T191753Z.1654448ada03ce3c4668f3fe472796d0b771e147 - rev

CVS commit: src/sys/arch/sh3/dev

2012-12-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Dec 12 13:32:37 UTC 2012 Modified Files: src/sys/arch/sh3/dev: sci.c Log Message: Fix one more device/softc split error: - set sc->sc_dev properly To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/

CVS commit: src/sys/arch/sh3/sh3

2012-09-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Sep 21 09:05:09 UTC 2012 Modified Files: src/sys/arch/sh3/sh3: sh3_machdep.c Log Message: adapt for _UC_TLSBASE. Approved by manu@ and msaitoh@ To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/arch/sh3/s

CVS commit: src/sys/arch/sh3/sh3

2012-02-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Feb 13 01:04:27 UTC 2012 Modified Files: src/sys/arch/sh3/sh3: vm_machdep.c Log Message: add missing MD code for posix_spawn To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/sh3/sh3/vm_machdep.c Pl

CVS commit: src/sys/arch/sh3/include

2011-10-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Oct 31 19:08:46 UTC 2011 Modified Files: src/sys/arch/sh3/include: ptrace.h Log Message: #if-0'ed defines for PT_GETFPREGS and PT_SETFPREGS. Not used yet, but reserve the numbers as they are "leaked" to readelf(1), that has to k

CVS commit: src/sys/arch/sh3/sh3

2011-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 27 00:35:38 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: cpu_in_cksum.S Log Message: move the size marker back to where it was, but fix the name. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/ar

CVS commit: src/sys/arch/sh3/sh3

2011-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 26 22:43:07 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: cpu_in_cksum.S Log Message: compute the entry size correctly. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sh3/sh3/cpu_in_cksum.S

CVS commit: src/sys/arch/sh3

2011-07-25 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jul 25 16:06:58 UTC 2011 Modified Files: src/sys/arch/sh3/include: bus_funcs.h src/sys/arch/sh3/sh3: sh3_machdep.c Log Message: Move the sh_memio_*() declarations back to sh3/include/bus_funcs.h. Should fix the mmeye b

CVS commit: src/sys/arch/sh3/sh3

2011-07-25 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jul 25 16:02:25 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: sh3_machdep.c Log Message: #include . Should fix most of the SH3 ports. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/arch/sh3/sh3/sh3_m

CVS commit: src/sys/arch/sh3

2011-07-20 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jul 20 21:30:13 UTC 2011 Modified Files: src/sys/arch/sh3/include: bus_funcs.h src/sys/arch/sh3/sh3: sh3_machdep.c Log Message: Remove redundant, static inline bus_space(9) declarations from sh3/bus_funcs.h and move th

CVS commit: src/sys/arch/sh3/include

2011-07-02 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jul 3 06:45:51 UTC 2011 Modified Files: src/sys/arch/sh3/include: stdarg.h Log Message: add GCC 4.5 support. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sh3/include/stdarg.h Please note that diff

CVS commit: src/sys/arch/sh3/dev

2011-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jul 1 19:17:38 UTC 2011 Modified Files: src/sys/arch/sh3/dev: shpcic.c shpcicvar.h Log Message: #include instead of . To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sh3/dev/shpcic.c cvs rdiff -u

CVS commit: src/sys/arch/sh3/sh3

2011-06-12 Thread UCHIYAMA Yasushi
Module Name:src Committed By: uch Date: Mon Jun 13 05:23:34 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: vm_machdep.c Log Message: include uvm_page.h for vm_physmem[] To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/arch/sh3/sh3/vm_machdep.c Pleas

CVS commit: src/sys/arch/sh3/sh3

2011-02-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 4 04:14:25 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: exception_vector.S Log Message: Use __INTR_MASK_EXCEPTION_UNBLOCK combo. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/sh3/sh3/exceptio

CVS commit: src/sys/arch/sh3/include

2011-02-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 4 04:13:52 UTC 2011 Modified Files: src/sys/arch/sh3/include: locore.h Log Message: Since __INTR_MASK + __EXCEPTION_UNBLOCK is common sequence, provide __INTR_MASK_EXCEPTION_UNBLOCK combo version that does stc/ldc just once.

CVS commit: src/sys/arch/sh3

2011-02-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 4 03:23:33 UTC 2011 Modified Files: src/sys/arch/sh3/include: locore.h src/sys/arch/sh3/sh3: exception_vector.S Log Message: __EXCEPTION_ENTRY - "tst" already does logical AND, so shave off extra "mov" and "and" and

CVS commit: src/sys/arch/sh3/sh3

2011-01-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Feb 1 01:54:14 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: locore_subr.S vm_machdep.c Log Message: cpu_setfunc() must use lwp_trampoline to arrange for the recycled lwp to go through lwp_startup() the first time it's switched

CVS commit: src/sys/arch/sh3

2011-01-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jan 28 21:06:09 UTC 2011 Modified Files: src/sys/arch/sh3/include: ptrace.h userret.h src/sys/arch/sh3/sh3: db_interface.c exception.c exception_vector.S process_machdep.c sh3_machdep.c Log Message: Implement

CVS commit: src/sys/arch/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jan 27 01:01:56 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: general_exception: when printing current mode in the panic message, test "usermode" directly instead of testing for EXP_USER bit. To genera

CVS commit: src/sys/arch/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jan 27 00:19:27 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: core_machdep.c Log Message: Include only headers that are actually used. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sh3/sh3/core_machd

CVS commit: src/sys/arch/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Jan 26 23:29:17 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: sh3_machdep.c Log Message: Clear MDP_SSTEP in setregs(). To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/arch/sh3/sh3/sh3_machdep.c Please no

CVS commit: src/sys/arch/sh3/include

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Jan 26 23:26:37 UTC 2011 Modified Files: src/sys/arch/sh3/include: proc.h Log Message: Add MDP_SSTEP flag. Not used yet. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/include/proc.h Please not

CVS commit: src/sys/arch/sh3/include

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Jan 26 19:07:43 UTC 2011 Modified Files: src/sys/arch/sh3/include: psl.h Log Message: Add sh4 PSL_FD - FPU disable bit. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sh3/include/psl.h Please note t

CVS commit: src/sys/arch/sh3/sh3

2011-01-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Jan 26 18:43:30 UTC 2011 Modified Files: src/sys/arch/sh3/sh3: db_interface.c Log Message: BRCR and BAMRA have different format in sh3 and sh4, so there's no point in using SH_() wrapper to refer to them in code that is already m

CVS commit: src/sys/arch/sh3/include

2011-01-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jan 18 00:26:58 UTC 2011 Modified Files: src/sys/arch/sh3/include: locore.h Log Message: Allow co-existance of traditional and modern CPP To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/sh3/include/

CVS commit: src/sys/arch/sh3/sh3

2010-12-29 Thread Tohru Nishimura
Module Name:src Committed By: nisimura Date: Wed Dec 29 13:49:32 UTC 2010 Modified Files: src/sys/arch/sh3/sh3: exception.c Log Message: one more line for lwp_getpcb() conversion. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/sh3/sh3/exceptio

CVS commit: src/sys/arch/sh3/sh3

2010-12-29 Thread Tohru Nishimura
Module Name:src Committed By: nisimura Date: Wed Dec 29 13:43:58 UTC 2010 Modified Files: src/sys/arch/sh3/sh3: exception.c vm_machdep.c Log Message: use lwp_getpcb() to hide the detail about how struct pcb is populated. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/arch/sh3/include

2010-12-21 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Dec 22 02:41:13 UTC 2010 Modified Files: src/sys/arch/sh3/include: types.h Log Message: Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first member in struct cpu_info. To generate a diff of this commit: cv

CVS commit: src/sys/arch/sh3/sh3

2010-10-30 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sat Oct 30 18:15:04 UTC 2010 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: Use VM_PAGE_TO_MD() to locate struct vm_page_md. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/

CVS commit: src/sys/arch/sh3/dev

2010-08-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 8 16:23:40 UTC 2010 Modified Files: src/sys/arch/sh3/dev: adc.c Log Message: make this compile with DIAGNOSTIC. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sh3/dev/adc.c Please note that dif

CVS commit: src/sys/arch/sh3/include

2010-03-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Mar 15 11:27:38 UTC 2010 Modified Files: src/sys/arch/sh3/include: bus.h Log Message: Sync with : constify source arg of bus_space_write* &co, fix size_t vs. bus_size_t confusion. Makes mmeye kernel build again. To generate a

CVS commit: src/sys/arch/sh3/sh3

2009-12-10 Thread UCHIYAMA Yasushi
Module Name:src Committed By: uch Date: Thu Dec 10 13:35:32 UTC 2009 Modified Files: src/sys/arch/sh3/sh3: vm_machdep.c Log Message: u-area is no longer zero-cleared. reset here To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/sh3/sh3/vm_machdep

CVS commit: src/sys/arch/sh3/include

2009-10-13 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Oct 13 12:55:53 UTC 2009 Modified Files: src/sys/arch/sh3/include: lock.h Log Message: Fix inline asm for tas.b. "=m" is not restrictive enough and gcc may decide to use addressing modes that tas.b does not support. 'V' is adve

CVS commit: src/sys/arch/sh3/sh3

2009-06-08 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jun 9 02:38:27 UTC 2009 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: In pmap_protect(), compute the bitmask to set in the ptes only once, instead of every iteration. From OpenBSD. To generate a diff of this commi

CVS commit: src/sys/arch/sh3/sh3

2009-06-08 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jun 9 01:35:11 UTC 2009 Modified Files: src/sys/arch/sh3/sh3: locore_subr.S Log Message: Fix logic error in copyinstr() when deciding whether to return EFAULT or ENAMETOOLONG. >From OpenBSD revision 1.9 by miod@ To generate a

  1   2   >