Home | History | Annotate | Download | only in include
History log of /src/sys/arch/arm/include/db_machdep.h
RevisionDateAuthorComments
 1.28  01-Dec-2020  rin Fix confusions related to encoding of instructions.

For __ARMEB__ in BE8 mode, instructions are encoded in little-endian.
Therefore, we need to swap bytes against these in native byte order.

In other cases, i.e., __ARMEL__ and __ARMEB__ in BE32 mode, instructions
are in native byte order, and we don't need to swap them.
 1.27  01-Apr-2018  ryo branches: 1.27.14;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
 1.26  24-Jan-2018  skrll branches: 1.26.2;
Remove port-acorn26

OK core@
 1.25  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.24  20-Feb-2017  skrll Trailing whitespace.
 1.23  20-Feb-2017  skrll Whitespace
 1.22  13-Sep-2014  matt branches: 1.22.2; 1.22.4; 1.22.6;
Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t
Use paddr_t for msgbufphys
 1.21  30-Mar-2014  skrll Provide a DDB_REGS in the same way to others. Makes crash buildable.
 1.20  28-Mar-2014  matt Make ddb_registers per-cpu. All switching of CPUs (xxx doesn't work yet).
 1.19  05-Mar-2014  matt Define all the instruction conditions.
Use __SHIFTOUT to get the condition.
Add bool arm_cond_ok_p(uint32_t insn, uint32_t psr) inline
Add tlbtr inline
 1.18  16-Feb-2012  christos branches: 1.18.2; 1.18.4;
include <sys/types.h>; things included from here need it.
 1.17  26-May-2011  joerg branches: 1.17.4; 1.17.8;
Introduce DDB_EXPR_FMT and replace the logic around DB_EXPR_T_IS_QUAD.
 1.16  14-Mar-2009  dsl branches: 1.16.4; 1.16.6;
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.15  29-Aug-2008  matt branches: 1.15.2; 1.15.8;
Remove non-__ELF__ snippets.
 1.14  06-Jan-2007  christos branches: 1.14.46; 1.14.50; 1.14.52; 1.14.56;
Fix branch handling in ddb. From Bucky Katz.
 1.13  10-May-2006  skrll branches: 1.13.8;
Fix a bunch of cast lvalues.
 1.12  08-May-2006  skrll s/4/BKPT_SIZE/ in PC_ADVANCE
 1.11  05-Apr-2006  uwe Define ddb_regs in db_interface.c.
Change its definion in db_machdep.h into a declaration.
 1.10  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.9  11-Dec-2005  christos branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12;
merge ktrace-lwp.
 1.8  09-Jul-2003  thorpej branches: 1.8.16;
Make faulting in DDB continue back in the top-level command
loop properly.
 1.7  29-Apr-2003  scw branches: 1.7.2;
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.6  28-Apr-2003  briggs Add arm32 machine-specific remote kgdb support. Largely
from PR port-arm/15530 by bsh@, but with some updates from
me, including a fresh arm32/kgdb_machdep.c--ported from pc532.
 1.5  22-Nov-2001  thorpej Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>. Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate. Change all references to PROG26
and PROG32 to __PROG26 and __PROG32. Eliminate the opt_progmode.h
header file.
 1.4  13-May-2001  bjh21 branches: 1.4.2; 1.4.8;
Make use of a.out or ELF symbols dependent on the compile-time definition of
__ELF__.
 1.3  11-Mar-2001  bjh21 branches: 1.3.2;
Make this suitable for use on arm26 as well.
 1.2  04-Mar-2001  matt branches: 1.2.2;
s/vm_offset_t/vaddr_t/g
 1.1  23-Feb-2001  reinoud Big patch for merging common include files of the new hpcarm tree and the old arm32
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.
 1.2.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.3.2.2  12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.1  11-Mar-2001  bouyer file db_machdep.h was added on branch thorpej_scsipi on 2001-03-12 13:27:22 +0000
 1.4.8.2  08-Jan-2002  nathanw Catch up to -current.
 1.4.8.1  13-May-2001  nathanw file db_machdep.h was added on branch nathanw_sa on 2002-01-08 00:23:11 +0000
 1.4.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1  03-Aug-2004  skrll Sync with HEAD
 1.8.16.2  26-Feb-2007  yamt sync with head.
 1.8.16.1  21-Jun-2006  yamt sync with head.
 1.9.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.9.10.2  11-May-2006  elad sync with head
 1.9.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.9.8.2  24-May-2006  yamt sync with head.
 1.9.8.1  11-Apr-2006  yamt sync with head
 1.9.6.2  01-Jun-2006  kardel Sync with head.
 1.9.6.1  22-Apr-2006  simonb Sync with head.
 1.9.4.1  09-Sep-2006  rpaulo sync with head
 1.13.8.1  12-Jan-2007  ad Sync with head.
 1.14.56.1  19-Oct-2008  haad Sync with HEAD.
 1.14.52.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.50.1  04-May-2009  yamt sync with head.
 1.14.46.1  28-Sep-2008  mjf Sync with HEAD.
 1.15.8.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.2.1  28-Apr-2009  skrll Sync with HEAD.
 1.16.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.16.4.1  31-May-2011  rmind sync with head
 1.17.8.1  18-Feb-2012  mrg merge to -current.
 1.17.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17.4.1  17-Apr-2012  yamt sync with head
 1.18.4.1  18-May-2014  rmind sync with head
 1.18.2.2  03-Dec-2017  jdolecek update from HEAD
 1.18.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.6.1  21-Apr-2017  bouyer Sync with HEAD
 1.22.4.1  20-Mar-2017  pgoyette Sync with HEAD
 1.22.2.1  28-Aug-2017  skrll Sync with HEAD
 1.26.2.1  07-Apr-2018  pgoyette Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
 1.27.14.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed