summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/platform.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-11-12 04:18:19 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-11-12 04:18:19 +0000
commitb5495356b24ecdcdf829764b8e2fd95dea55831c (patch)
treed54d0e93b610c6afc2a3c82b49320ba55e02cad8 /sys/powerpc/include/platform.h
parent3d8843cae15a79d5dd48c925dd352a875b214068 (diff)
downloadFreeBSD-src-b5495356b24ecdcdf829764b8e2fd95dea55831c.zip
FreeBSD-src-b5495356b24ecdcdf829764b8e2fd95dea55831c.tar.gz
Add some platform KOBJ extensions and continue integrating PowerPC
hypervisor infrastructure support: - Fix coexistence of multiple platform modules in the same kernel - Allow platform modules to provide an SMP topology - PowerPC hypervisors limit the amount of memory accessible in real mode. Allow the platform modules to specify the maximum real-mode address, and modify the bits of the kernel that need to allocate real-mode-accessible buffers to respect this limits.
Diffstat (limited to 'sys/powerpc/include/platform.h')
-rw-r--r--sys/powerpc/include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/platform.h b/sys/powerpc/include/platform.h
index cfa7a0d..48ea0e6 100644
--- a/sys/powerpc/include/platform.h
+++ b/sys/powerpc/include/platform.h
@@ -44,6 +44,7 @@ struct mem_region {
};
void mem_regions(struct mem_region **, int *, struct mem_region **, int *);
+vm_offset_t platform_real_maxaddr(void);
u_long platform_timebase_freq(struct cpuref *);
OpenPOWER on IntegriCloud