summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/db_machdep.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Mega update for the KDB framework: turn DDB into a KDB backend.marcel2004-07-101-9/+5
| | | | | | | | | | | | | | | | Most of the changes are a direct result of adding thread awareness. Typically, DDB_REGS is gone. All registers are taken from the trapframe and backtraces use the PCB based contexts. DDB_REGS was defined to be a trapframe on all platforms anyway. Thread awareness introduces the following new commands: thread X switch to thread X (where X is the TID), show threads list all threads. The backtrace code has been made more flexible so that one can create backtraces for any thread by giving the thread ID as an argument to trace. With this change, ia64 has support for breakpoints.
* BKPT_INST is supposed to be a breakpoint, not 0.jake2003-06-071-1/+1
|
* 1. Remove kdbframe. Bad idea.jake2001-11-181-8/+4
| | | | | | | | | | | | 2. Add a TF_DONE macro, which fiddles a trapframe to make the retry on return from traps act like a done (advance past the trapping instruction instead of re-executing). 3. Flush the windows before entering the debugger, since it is no longer done in the breakpoint trap vector. 4. Print a warning if trace <pid> is attempted, it is not yet implemented. 5. Print traps better and decode system calls in traces. Submitted by: rwatson (4)
* Use the correct copyrights. Note where most of this came from.jake2001-09-031-22/+23
| | | | Requested by: obrien
* db_expr_t is signed.jake2001-08-201-1/+1
|
* 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/+44
| | | | | | | | | - 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
* Add skeleton machine dependent headers and c files for a port of freebsdjake2001-07-311-0/+32
to a new architecture. This is the base of the sparc64 port, but contains limited machine dependent code, and can be used a base for ports. Included are: - standard machine dependent headers, tweaked for a 64 bit, big endian architecture, including empty versions of all the machine dependent structures - a machine independent atomic.h, which can be used until a port has support for interrupts and the operations really need to be atomic - stub versions of all the machine dependent functions, which panic when called and print out the name of the function that needs to be implemented. functions which are normally in assembly files are not included, but this should reduce the number of different undefined references on the first few compiles from hundreds to 5 or 6 Given minimal startup code and console support it should be trivial to make this compile and run the first few sysinits on almost any architecture. Requested by: alfred, imp, jhb
OpenPOWER on IntegriCloud