History log of /netbsd/sys/arch/hp300/hp300/trap.c (Results 1 – 25 of 157)
Revision Date Author Comments
# 40d9aa7e 21-Apr-2023 tsutsui <tsutsui@NetBSD.org>

Remove ancient /* ARGSUSED */ lint comments.


# 15805031 15-Jan-2023 tsutsui <tsutsui@NetBSD.org>

TAB/space cleanup.


# 23ffe7e3 25-Sep-2021 tsutsui <tsutsui@NetBSD.org>

Call cnpollc(9) before cngetc(9) as the cons(9) man page says.

Affects only inside #ifdef DEBUG part on "trap during panic" in trap.c
derived from hp300.


# ae16be0b 21-Nov-2019 ad <ad@NetBSD.org>

mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.


# e3f92458 06-Apr-2019 thorpej <thorpej@NetBSD.org>

Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufe

Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

show more ...


# 5751cea6 18-Feb-2019 thorpej <thorpej@NetBSD.org>

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)

show more ...


# 6ff7c06c 04-Mar-2015 martin <martin@NetBSD.org>

Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF


# 06cec7c5 16-Aug-2013 tsutsui <tsutsui@NetBSD.org>

Make FPU_EMULATE work on NetBSD/hp300. Commented out by default in GENERIC.

Tested on HP9000/362 without optional MC68882 FPU in its socket.


# 154d3024 19-Feb-2012 rmind <rmind@NetBSD.org>

Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.


# 8ac3875a 08-Feb-2011 rmind <rmind@NetBSD.org>

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as the

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

show more ...


# da847903 06-Feb-2011 tsutsui <tsutsui@NetBSD.org>

Remove trailing TABs.


# c62ccd21 17-Jan-2011 tsutsui <tsutsui@NetBSD.org>

Explicitly include <machine/pcb.h> for struct pcb.


# ccde4787 20-Dec-2010 matt <matt@NetBSD.org>

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.


# 9ea6b6e3 07-Jul-2010 chs <chs@NetBSD.org>

implement ucas_* for m68k.


# bd01b4a3 06-Jun-2010 mrg <mrg@NetBSD.org>

fix PR 6724 - convert m68k options to defflag's. this means that
M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned
in the PR has already been fixed, and i could not find any more.

fix PR 6724 - convert m68k options to defflag's. this means that
M680[12346] are now available from opt_m68k_arch.h. FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

show more ...


# 04aa4da3 20-Mar-2010 chs <chs@NetBSD.org>

fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.


# 12193ee3 21-Nov-2009 rmind <rmind@NetBSD.org>

Use lwp_getpcb() on hppa and ia64, clean from struct user usage.


# f055e182 27-Jan-2009 martin <martin@NetBSD.org>

Centralize fpu exception to siginfo code encoding for all m68k archs,
fixes a failure in the lib/libc/ieeefp/except regression test.


# fc7511b0 15-Oct-2008 wrstuden <wrstuden@NetBSD.org>

Merge wrstuden-revivesa into HEAD.


# 284c2b9a 24-Apr-2008 ad <ad@NetBSD.org>

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_S

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

show more ...


# 9f6b8c4d 31-Dec-2007 ad <ad@NetBSD.org>

Remove COMPAT_HPUX.


# 4b293a84 03-Dec-2007 ad <ad@NetBSD.org>

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implemen

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

show more ...


# bd6663fc 05-Nov-2007 ad <ad@NetBSD.org>

Don't set l_usrpri / spc_curpriority here. mi_userret() does it.


# bccf777b 24-Oct-2007 ad <ad@NetBSD.org>

Make ras_lookup() lockless.


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the v

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

show more ...


1234567