aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/include/kdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove ia64.Marcel Moolenaar2014-07-071-67/+0
| | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* Move the implementation of kdb_cpu_trap() from <machine/kdb.h> toMarcel Moolenaar2014-03-161-10/+2
| | | | | | | | machdep.c. This makes it easier to add conditional code based on options. Notes: svn path=/head/; revision=263254
* Define struct pcpu_md as the only MD field of struct pcpu (pc_acpi_idMarcel Moolenaar2009-12-071-1/+1
| | | | | | | | | | | | | excluded, as it's used by MI code) and mode the sysctl variables from pcpu_stats to pcpu_md. Adjust all references accordingly. While nearby, change the PCPU sysctl tree so that they match the CPU device sysctl tree -- they are now children of a static node called "machdep.cpu" and are named only with their cpu ID. Notes: svn path=/head/; revision=200207
* Add kdb_cpu_sync_icache(), intended to synchronize instructionMarcel Moolenaar2007-06-091-0/+15
| | | | | | | | | caches with data caches after writing to memory. This typically is required to make breakpoints work on ia64 and powerpc. For those architectures the function is implemented. Notes: svn path=/head/; revision=170473
* Now that printf() needs the PCPU, set it up before we call printf().Marcel Moolenaar2006-11-181-1/+1
| | | | | | | | | | | Change the pc_pcb field from a pointer to struct pcb to struct pcb so that sizeof(struct pcb) includes the PCB we use for IPI_STOP. Statically declare early_pcb so that we don't have to allocate the PCB for thread0. This way we can setup the PCPU before cninit() and thus before we use printf(). Notes: svn path=/head/; revision=164392
* Eliminate HAVE_STOPPEDPCBS. On ia64 the PCPU holds a pointer to theMarcel Moolenaar2006-04-031-0/+2
| | | | | | | | | | | PCB in which the context of stopped CPUs is stored. To access this PCB from KDB, we introduce a new define, called KDB_STOPPEDPCB. The definition, when present, lives in <machine/kdb.h> and abstracts where MD code saves the context. Define KDB_STOPPEDPCB on i386, amd64, alpha and sparc64 in accordance to previous code. Notes: svn path=/head/; revision=157448
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
| | | | Notes: svn path=/head/; revision=139790
* Introduce the KDB debugger frontend. The frontend provides a frameworkMarcel Moolenaar2004-07-101-0/+58
in which multiple (presumably different) debugger backends can be configured and which provides basic services to those backends. Besides providing services to backends, it also serves as the single point of contact for any and all code that wants to make use of the debugger functions, such as entering the debugger or handling of the alternate break sequence. For this purpose, the frontend has been made non-optional. All debugger requests are forwarded or handed over to the current backend, if applicable. Selection of the current backend is done by the debug.kdb.current sysctl. A list of configured backends can be obtained with the debug.kdb.available sysctl. One can enter the debugger by writing to the debug.kdb.enter sysctl. Notes: svn path=/head/; revision=131903