History log of /freebsd-current/sys/arm/arm/db_interface.c
Revision Date Author Comments
# 9d2c93c2 06-Feb-2024 Warner Losh <imp@FreeBSD.org>

ddb: Remove useless includes

systm.h was included for boothowto here, but it's not used here, so drop
this include. Also sys/cdefs.h isn't needed, drop it too.

Sponsored by: Netflix


# afb1a3e3 02-Feb-2024 John Baldwin <jhb@FreeBSD.org>

arm: pmap_extract() returns a PA not a boolean value

Assume a PA of 0 indicates an invalid virtual address.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43694


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# bf043855 20-Apr-2023 John Baldwin <jhb@FreeBSD.org>

arm: Use C89 function declaration for db_read_bytes.


# 5c2967f6 29-Nov-2020 Michal Meloun <mmel@FreeBSD.org>

Remove the pre-ARMv6 and pre-INTRNG code.
ARM has required ARMV6+ and INTRNg for some time now, so remove
always false #ifdefs and unconditionally do always true #ifdefs.


# 65454883 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

arm: clean up empty lines in .c and .h files


# 33495e5d 20-Apr-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

Use our nitems() macro when param.h is available.

Replacements specific to arm, mips, pc98, powerpc and sparc64.

Discussed in: freebsd-current


# a89156f5 05-Feb-2016 Michal Meloun <mmel@FreeBSD.org>

ARM: Use new ARMv6 naming conventions for cache and TLB functions
in all but ARMv4 specific files.
Expand ARMv6 compatibility stubs in cpu-v4.h. Use physical address
in L2 cache functions if ARM_L2_PIPT is defined.


# 480f7464 29-Jan-2016 Svatopluk Kraus <skra@FreeBSD.org>

Use kernel_pmap directly instead of pmap_kernel(). The kernel_pmap is
already used for __ARM_ARCH >= 6 and so even for __ARM_ARCH < 6 on some
common places.


# 514ba655 06-Jan-2016 Svatopluk Kraus <skra@FreeBSD.org>

Print curpmap in "show pcpu" command.

Approved by: kib (mentor)


# 232e189a 02-Nov-2015 Zbigniew Bodek <zbb@FreeBSD.org>

Add support for branch instruction on armv7 with ptrace single step

Previous code supported only "continuous" code without any kind of
branch instructions. To change that, new function was implemented
which parses current instruction and returns an addres where
the jump might happen (alternative addr).
mdthread structure was extended to support two breakpoints
(one directly below current instruction and the second placed
at the alternative location).
One of them must trigger regardless the instruction has or has not been
executed due to condition field.
Upon cleanup, both software breakpoints are removed.

This implementation parses only the most common instructions
that are present in the code (like 99.99% of all), but there
is a chance there are some left, not covered by the parsing routine.
Parsing is done only for 32-bit instruction, no Thumb nor Thumb-2
support is provided.

Reviewed by: kib
Submitted by: Wojciech Macek <wma@semihalf.com>
Obtained from: Semihalf
Sponsored by: Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4021


# 66fb2f18 23-May-2015 Andrew Turner <andrew@FreeBSD.org>

Remove trailing whitespace from sys/arm/arm


# 5e92d389 12-Jun-2012 Warner Losh <imp@FreeBSD.org>

Final whitespace trim.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# f0fe5e91 03-Aug-2008 Olivier Houchard <cognet@FreeBSD.org>

Add "add pc, whatever" as a branch instruction, we use it in memcpy().

MFC after: 3 days


# fcfc4997 02-Aug-2008 Olivier Houchard <cognet@FreeBSD.org>

Handle ldr pc, [reg] in branch_taken().

Obtained from: NetBSD
MFC after: 3 days


# 82003b27 25-Feb-2007 Kevin Lo <kevlo@FreeBSD.org>

Remove unused header file <machine/katelib.h>


# 9c21f769 13-Feb-2007 Kevin Lo <kevlo@FreeBSD.org>

style(9) cleanup.


# 31897fe8 23-Jun-2005 Olivier Houchard <cognet@FreeBSD.org>

Implement db_frame() and use it to obtain the registers value.

Approved by: re (blanket)


# d8315c79 05-Jan-2005 Warner Losh <imp@FreeBSD.org>

Start all license statements with /*-


# 9ebe15a1 21-Nov-2004 Olivier Houchard <cognet@FreeBSD.org>

Implement breakpoints and single stepping on arm.

Obtained from: NetBSD


# 2f6d0d8f 12-Jul-2004 Olivier Houchard <cognet@FreeBSD.org>

Update to kdb.


# 6fc729af 14-May-2004 Olivier Houchard <cognet@FreeBSD.org>

Import FreeBSD/arm kernel bits.
It only supports sa1110 (on simics) right now, but xscale support should come
soon.
Some of the initial work has been provided by :
Stephane Potvin <sepotvin at videotron.ca>
Most of this comes from NetBSD.