Home | History | Annotate | Download | only in include
History log of /src/sys/arch/powerpc/include/db_machdep.h
RevisionDateAuthorComments
 1.30  11-Mar-2021  simonb Use ifdef _KERNEL_OPT instead of ifdef _KERNEL before including
"opt_ppcarch.h".
 1.29  06-Jan-2021  rin Switch DDB for powerpc/booke into SOFTWARE_SSTEP.

SR_SINGLESTEP aka PSL_SE bit in MSR is only available for oea, and HW
debug facilities for booke are significantly different from oea.
 1.28  06-Jul-2020  rin branches: 1.28.2;
Style and cosmetic changes. No binary changes intended.
 1.27  15-Dec-2019  rin Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7
 1.26  06-Nov-2017  christos branches: 1.26.4; 1.26.8;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.25  23-Jan-2015  nonaka ddb MP support
 1.24  14-Jun-2011  matt branches: 1.24.12; 1.24.30;
Update KDB_NUMREGS to match what gdb6 is using for PPC.
Patch taken from PR/43196
 1.23  26-May-2011  joerg branches: 1.23.2;
Introduce DDB_EXPR_FMT and replace the logic around DB_EXPR_T_IS_QUAD.
 1.22  18-Jan-2011  matt Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
 1.21  28-Jan-2010  phx branches: 1.21.4; 1.21.6;
New machine commands for PPC OEA:
bat: prints the BAT registers and translations
mmu: prints MMU registers (sdr1, sr0..15)
 1.20  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.19  14-May-2006  elad branches: 1.19.66; 1.19.74; 1.19.80; 1.19.88;
integrate kauth.
 1.18  01-Apr-2006  cherry closes kern/32359
 1.17  29-Apr-2003  scw branches: 1.17.18; 1.17.32; 1.17.34; 1.17.36; 1.17.38; 1.17.40;
Add a BKPT_ADDR() macro which gives MD code a chance to munge a
breakpoint address before it's used. Currently a no-op on all but sh5.

This is useful on sh5, for example, to mask off the instruction
type encoding in the bottom two address bits, and makes it possible
to do "db> break $rXX" instead of manually munging the address.
 1.16  14-Mar-2003  matt Make lint happy by not assigning to casted lvalue.
 1.15  22-Jan-2003  kleink MPC601 support bits:
* install 601-specific DSI and RUNMODETRC trap handlers
* save/restore MQ in trapframe, add MQ hooks to DDB
* extend battable to 512 entries to hold the 601's 8M translations
* instead of adding I/O to BAT starvation, set up segment registers
for Memory-Forced I/O Controller Interface Access
* sync after tlbie
 1.14  20-Dec-2002  scw Use Software Single Stepping for now when PPC_IBM4xx is defined. The
existing hardware assisted method doesn't work on this cpu.

Also correct the "I_B" constant in db_machine.h.
 1.13  13-May-2002  matt Eliminate commons.
 1.12  06-Jan-2002  dbj add support for kgdb over zs
 1.11  27-Dec-2001  dbj fix single stepping and continuing from breakpoints in ddb
 1.10  20-Jun-2001  briggs branches: 1.10.2; 1.10.8;
Build for kgdb as well as for ddb (mutually exclusive).
 1.9  13-Jun-2001  simonb Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
- New pmap and revised trap handler.
- Support on-chip timers, PCI controller, UARTs
- Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
- Add in-kernel PPC floating point emulation
- New in{,4}_cksum that is between 1.5 and 5 times faster than the
old version depending on CPU type.
General changes:
- Kernel support for generic dbsym-style symbols.
 1.8  02-Aug-2000  tsubai branches: 1.8.2;
uvm/uvm_inherit.h was removed.
 1.7  26-Jun-2000  mrg <vm/vm_param.h> -> <uvm/uvm_param.h>
 1.6  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.5  25-Jun-2000  mrg <vm/vm_prot.h> becomes <uvm/uvm_prot.h>
 1.4  31-Aug-1998  tsubai branches: 1.4.12; 1.4.22;
vm_offset_t --> [pv]addr_t
 1.3  31-Aug-1998  tsubai Change db_expr_t from int to long like other ports.
 1.2  23-Feb-1998  mycroft Fix layout of powerpc_saved_state.
 1.1  27-Jan-1998  sakamoto Import DDB from OpenBSD/powerpc.
 1.4.22.1  05-Aug-2000  wiz Apply patch (approved by jhawk and thorpej):

Rename VM_INHERIT_* to MAP_INHERIT_* and move them to sys/sys/mman.h as
discussed on tech-kern.
Retire sys/vm/vm_inherit.h, update man page for minherit(2).

The patch includes approximately the following diffs (approximately
since -current already used uvm/uvm_inherit.h):
minherit.2: 1.4 -> 1.8
mman.h: 1.26 -> 1.27
powerpc/include/db_machdep.h: 1.7 -> 1.8
pc532/include/db_machdep.h: 1.12 -> 1.13
 1.4.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.8.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.8.6  29-Dec-2002  thorpej Sync with HEAD.
 1.10.8.5  20-Jun-2002  nathanw Catch up to -current.
 1.10.8.4  28-Feb-2002  nathanw Catch up to -current.
 1.10.8.3  11-Jan-2002  nathanw More catchup.
 1.10.8.2  08-Jan-2002  nathanw Catch up to -current.
 1.10.8.1  20-Jun-2001  nathanw file db_machdep.h was added on branch nathanw_sa on 2002-01-08 00:27:10 +0000
 1.10.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.17.40.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.17.38.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.17.36.1  11-Apr-2006  yamt sync with head
 1.17.34.1  22-Apr-2006  simonb Sync with head.
 1.17.32.1  09-Sep-2006  rpaulo sync with head
 1.17.18.1  21-Jun-2006  yamt sync with head.
 1.19.88.1  07-Jan-2011  matt Add booke support.
 1.19.80.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.19.74.1  28-Apr-2009  skrll Sync with HEAD.
 1.19.66.2  11-Mar-2010  yamt sync with head
 1.19.66.1  04-May-2009  yamt sync with head.
 1.21.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.21.4.2  31-May-2011  rmind sync with head
 1.21.4.1  05-Mar-2011  rmind sync with head
 1.23.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.24.30.1  06-Apr-2015  skrll Sync with HEAD
 1.24.12.1  03-Dec-2017  jdolecek update from HEAD
 1.26.8.1  25-Feb-2020  martin Pull up following revision(s) (requested by rin in ticket #727):

sys/arch/powerpc/include/db_machdep.h: revision 1.27

Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7
 1.26.4.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.28.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed