freebsd-skq/sys/arm
bde 254458ab34 Fix printing of negative offsets (typically from frame pointers) again.
I fixed this in 1997, but the fix was over-engineered and fragile and
was broken in 2003 if not before.  i386 parameters were copied to 8
other arches verbatim, mostly after they stopped working on i386, and
mostly without the large comment saying how the values were chosen on
i386.  powerpc has a non-verbatim copy which just changes the uncritical
parameter and seems to add a sign extension bug to it.

Just treat negative offsets as offsets if they are no more negative than
-db_offset_max (default -64K), and remove all the broken parameters.

-64K is not very negative, but it is enough for frame and stack pointer
offsets since kernel stacks are small.

The over-engineering was mainly to go more negative than -64K for the
negative offset format, without affecting printing for more than a
single address.

Addresses in the top 64K of a (full 32-bit or 64-bit) address space
are now printed less well, but there aren't many interesting ones.
For arches that have many interesting ones very near the top (e.g.,
68k has interrupt vectors there), there would be no good limit for
the negative offset format and -64K is a good as anything.
2017-03-26 18:46:35 +00:00
..
allwinner Fix and add comments to match selected frequency sample. 2017-03-25 10:39:24 +00:00
altera/socfpga Add FPGA manager driver for Intel Arria 10. 2017-03-03 14:19:37 +00:00
amlogic/aml8726 Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
annapurna/alpine Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
arm Preserve VFP state across signal delivery. 2017-03-26 08:36:56 +00:00
at91 Split overbloated machep.c to multiple files and do basic cleanup 2017-03-11 07:07:41 +00:00
broadcom/bcm2835 [rpi] Use compatibility string from upstream DTB for I2C controller 2017-03-25 22:58:37 +00:00
cavium/cns11xx Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
cloudabi32 Stop providing the compat_3_brand. 2017-03-23 14:12:21 +00:00
conf Add INTRNG option to EFIKA_MX config, it is an imx5-based platform. 2017-03-19 18:38:08 +00:00
freescale Use tc_priv to find the softc in the i.MX timer driver. 2017-03-20 19:25:42 +00:00
include Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
lpc Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
mv Remove code for Marvell SoCs that lack a kernel config. 2017-03-17 12:59:16 +00:00
nvidia Restore original (pre r315760) naming for Tegra SDHCI device. 2017-03-23 08:16:53 +00:00
qemu Make the default FDT implementation of platform_mp_setmaxid use the cpu 2017-03-17 12:45:53 +00:00
rockchip Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
samsung/exynos Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
ti - Add support for eMMC "partitions". Besides the user data area, i. e. 2017-03-16 22:23:04 +00:00
versatile Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00
xilinx Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
xscale Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00