summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-15 22:03:24 +0000
committerian <ian@FreeBSD.org>2014-05-15 22:03:24 +0000
commit2adbcd85c257d4cef2f521b431059e80c05f4d57 (patch)
treead43ebb893df8b629c10eba7081a65653d281d9d /sys/arm/include
parent4742b38bad2021d36f17b02ec7f94799806ac558 (diff)
downloadFreeBSD-src-2adbcd85c257d4cef2f521b431059e80c05f4d57.zip
FreeBSD-src-2adbcd85c257d4cef2f521b431059e80c05f4d57.tar.gz
MFC r261803, r261808, r261814, r261815, r261816, r261817, r261818, r261826,
r261848, r261855 On armv6 and later, use the WriteNotRead bit of the fault status register to decide what protections are required by the faulting access. Use the right symbols for determining arm architecture. Include the necessary header file which has the new FAULT_WNR symbol defined in it. Allow the kernel to be loaded at any 1MiB address. This requirement is because we use the 1MiB section maps as they only need a single pagetable. Add function for configuring Vybrid PLL4 (Audio) clock frequency output. imx6 changes ... - Fix the definition of the SDHCI_STATE_DAT and SDHCI_STATE_CMD fields, and add SDHCI_RETUNE_REQUEST. None of these are actually used in the code yet. - Write translation code for the SDHCI_PRESENT_STATE register. Freescale moved some bits around in their version of the register, adjust things so that the sdhci code sees the standard layout. - Add standard non-removable and cd-gpios properties to the usdhc devices. That generates references to gpio devices, so uncomment them even though there isn't a gpio driver to do anything with them yet. - Add handling of standard "non-removable" property, and also some workaround code so that if card detect is wired to a gpio pin, for now we just treat it the same as non-removable (because there isn't a gpio driver yet). - Enable both sdcard slots, but not the sdio-based wifi that we don't yet have a driver for. - Remove a couple obsolete function declarations.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/armreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/armreg.h b/sys/arm/include/armreg.h
index 9397678..7b52be1 100644
--- a/sys/arm/include/armreg.h
+++ b/sys/arm/include/armreg.h
@@ -403,6 +403,8 @@
#define FAULT_PERM_P 0x0f /* Permission -- Page */
#define FAULT_IMPRECISE 0x400 /* Imprecise exception (XSCALE) */
+#define FAULT_EXTERNAL 0x400 /* External abort (armv6+) */
+#define FAULT_WNR 0x800 /* Write-not-Read access (armv6+) */
/*
* Address of the vector page, low and high versions.
OpenPOWER on IntegriCloud