Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sh3/include/db_machdep.h
RevisionDateAuthorComments
 1.18  02-Sep-2023  andvar remove (db_addr_t) cast in sh3 PC_REGS(regs) definition.

Fixes KGDB build option for SH3/4 code.
 1.17  06-Nov-2017  christos 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.16  26-May-2011  joerg branches: 1.16.14;
Introduce DDB_EXPR_FMT and replace the logic around DB_EXPR_T_IS_QUAD.
 1.15  14-Jan-2011  rmind branches: 1.15.2;
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
 1.14  07-Jun-2008  uwe branches: 1.14.20;
Fix IS_BREAKPOINT_TRAP: EXP_BREAK is not a breakpoint trap, it's UBC
(user break controller) trap, and we use UBC for single-stepping, not
for ddb breakpoints. ddb breakpoints are "trapa 0xc3".
 1.13  21-Feb-2007  thorpej branches: 1.13.42; 1.13.44; 1.13.46; 1.13.48;
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.12  10-May-2006  skrll branches: 1.12.14;
Fix a bunch of cast lvalues.
 1.11  01-Apr-2006  cherry closes: PR kern/32359

modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.

Patch from cherry@mahiti.org
 1.10  18-Dec-2005  uwe branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
Declare ddb_regs extern in db_machdep.h and provide the defintion in
db_interface.c.
 1.9  29-Apr-2003  scw branches: 1.9.18;
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.8  09-May-2002  uch branches: 1.8.6;
rework general exception, and TLB exception handling for new pmap.
all exception staffs are moved to exception.[ch]
 1.7  28-Apr-2002  uch Use "#define<tab>", white space nits.
 1.6  17-Mar-2002  uch cosmetic changes, fix comments.
 1.5  02-Mar-2002  uch Initial support for KGDB on the sh3.
 1.4  08-Feb-2002  uch TLB dump command added to DDB
 1.3  08-Sep-2000  tsubai branches: 1.3.4;
DDB single step and stack trace support.
 1.2  29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.1  13-Sep-1999  itojun branches: 1.1.2;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.2.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.3.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.4.1  16-Mar-2002  jdolecek Catch up with -current.
 1.8.6.2  09-May-2002  uch rework general exception, and TLB exception handling for new pmap.
all exception staffs are moved to exception.[ch]
 1.8.6.1  09-May-2002  uch file db_machdep.h was added on branch nathanw_sa on 2002-05-09 12:24:21 +0000
 1.9.18.2  26-Feb-2007  yamt sync with head.
 1.9.18.1  21-Jun-2006  yamt sync with head.
 1.10.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.10.10.2  11-May-2006  elad sync with head
 1.10.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.10.8.2  24-May-2006  yamt sync with head.
 1.10.8.1  11-Apr-2006  yamt sync with head
 1.10.6.2  01-Jun-2006  kardel Sync with head.
 1.10.6.1  22-Apr-2006  simonb Sync with head.
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.12.14.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.13.48.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.13.46.1  04-May-2009  yamt sync with head.
 1.13.44.1  17-Jun-2008  yamt sync with head.
 1.13.42.1  29-Jun-2008  mjf Sync with HEAD.
 1.14.20.2  31-May-2011  rmind sync with head
 1.14.20.1  05-Mar-2011  rmind sync with head
 1.15.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.16.14.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed