History log of /netbsd/sys/arch/atari/atari/trap.c (Results 1 – 25 of 118)
Revision Date Author Comments
# 60e2ec70 06-Jan-2023 tsutsui <tsutsui@NetBSD.org>

TAB/spaces/indents 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


# 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 ...


# e17efabe 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.


# 3dc24f5a 23-Nov-2009 rmind <rmind@NetBSD.org>

Use lwp_getpcb() on m68k ports, clean from struct user usage.


# 95b880f3 19-Jul-2009 tsutsui <tsutsui@NetBSD.org>

Remove extra whitespace added by a dumb tool which replaced bcopy with memcpy.


# e2cb8590 18-Mar-2009 cegger <cegger@NetBSD.org>

bcopy -> memcpy


# 82357f6d 14-Mar-2009 dsl <dsl@NetBSD.org>

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.


# 454af1c0 14-Mar-2009 dsl <dsl@NetBSD.org>

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

show more ...


# 30b80223 05-Mar-2009 tsutsui <tsutsui@NetBSD.org>

Remove __P().


# 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.


# 285b0f56 27-Apr-2008 tsutsui <tsutsui@NetBSD.org>

Fix warnings #ifdef DEBUG case.


# 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 ...


# 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.


12345