summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/trap.h
Commit message (Collapse)AuthorAgeFilesLines
* - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB asmarius2009-03-191-1/+1
| | | | | | | | | they're always available. - Remove unused variable. [1] - Add a missing const. - Sort includes. Submitted by: Christoph Mallon [1]
* Use the PROM provided SUNW,set-trap-table to take over the trapmarius2008-09-041-0/+1
| | | | | | | | | | table. This is required in order to set obp-control-relinquished within the PROM, allowing to safely read the OFW translations node. Without this, f.e. a `ofwdump -ap` triggers a fatal reset error or worse things on machines based on USIII and beyond. In theory this should allow to remove touching %tba in cpu_setregs(), in practice we seem to currently face a chicken and egg problem when doing so however.
* Correct typos (s/OFERFLOW/OVERFLOW/).kris2006-01-161-1/+1
| | | | Reviewed by: jhb
* Allow fast instruction and data access mmu miss traps to be handled byjake2003-04-291-6/+6
| | | | user trap handlers.
* Greatly improve readability of trap() by using a table to convert betweenjake2002-10-251-0/+2
| | | | | | trap types and signals to send. Rearrange KASSERTs to better handle faults early before curthread is setup, or in the case that it gets corrupted or set to 0.
* Add a panic stack, which is used as a known good stack when there isjake2002-01-011-0/+1
| | | | | | something wrong with the kernel stack. Add code to check the kernel stack pointer in various important places and try hard not to go down in flames if its wrong.
* Rename and renumber trap types to comply with the user trap types asjake2001-12-291-40/+54
| | | | | | | specified by the sparc abi. We use numerically higher values for all internal kernel types. Remove soft trap types which need to be exposed to userland. They will move to utrap.h.
* Add support for physical address hardware watchpoints.jake2001-10-201-2/+3
|
* Wrap hardware trap types in ifdef _kernel.jake2001-09-301-0/+4
|
* Change tf_arg to uintptr_t from void * to reflect the fact thatjake2001-09-031-15/+4
| | | | | | non-pointer values may be passed in it. Add appropriate casts. The interrupt type is now passed in tf_arg instead tf_type.
* Add a system call trap type and syscall() call request handler.jake2001-08-201-2/+7
| | | | | | Also add support for hardware watch point traps. Submitted by: tmm
* Add trap types for interrupts. Ad definitions to get the interrupt leveljake2001-08-101-5/+17
| | | | from the trap type.
* The author isn't a [UC] Regents. Correct the copyright language.obrien2001-08-091-2/+2
|
* Flesh out the sparc64 port considerably. This contains:jake2001-07-311-0/+70
- mostly complete kernel pmap support, and tested but currently turned off userland pmap support - low level assembly language trap, context switching and support code - fully implemented atomic.h and supporting cpufunc.h - some support for kernel debugging with ddb - various header tweaks and filling out of machine dependent structures
OpenPOWER on IntegriCloud