summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pcpu.h
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-14 03:09:37 +0000
committerian <ian@FreeBSD.org>2014-05-14 03:09:37 +0000
commitf7cf17218ee8bf6a98118da7f5be833e053c2b36 (patch)
tree9d2af9a13e8605945b5bdeeab8f97eaa7d8aac3b /sys/powerpc/include/pcpu.h
parent14106897a198286392ed1343f8984675609d1e2a (diff)
downloadFreeBSD-src-f7cf17218ee8bf6a98118da7f5be833e053c2b36.zip
FreeBSD-src-f7cf17218ee8bf6a98118da7f5be833e053c2b36.tar.gz
MFC r258002, r258024, r258027, r258051, r258052, r258243, r258244, r258002,
r258024, r258027, r258051, r258052, r258243, Follow up r223485, which made AIM use the ABI thread pointer instead of PCPU fields for curthread, by doing the same to Book-E. Use the same implementation of copyinout.c for both AIM and Book-E. Actually add IOMMU domain to the list of known mappings. Following the approach with ACPI DMAR on x86, split IOMMU handling into a variant PCI bus instead of trying to shoehorn it into the PCI host bridge adapter. Make sure that TLB1 mappings are aligned correctly.
Diffstat (limited to 'sys/powerpc/include/pcpu.h')
-rw-r--r--sys/powerpc/include/pcpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/include/pcpu.h b/sys/powerpc/include/pcpu.h
index 96e26cb..79b2d96 100644
--- a/sys/powerpc/include/pcpu.h
+++ b/sys/powerpc/include/pcpu.h
@@ -136,7 +136,6 @@ struct pmap;
#define pcpup ((struct pcpu *) powerpc_get_pcpup())
-#ifdef AIM /* Book-E not yet adapted */
static __inline __pure2 struct thread *
__curthread(void)
{
@@ -149,7 +148,6 @@ __curthread(void)
return (td);
}
#define curthread (__curthread())
-#endif
#define PCPU_GET(member) (pcpup->pc_ ## member)
OpenPOWER on IntegriCloud