diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-02 14:25:52 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-02 14:25:52 +0000 |
commit | 9d778f2e566d3b8f4f781fe21ac6697448589753 (patch) | |
tree | 20bac4424a369cdeba5095f2f94d4a0af63afc7b /sys/powerpc/include/slb.h | |
parent | 6bfe728b8a801ef9b10237191abd76c6267a797c (diff) | |
download | FreeBSD-src-9d778f2e566d3b8f4f781fe21ac6697448589753.zip FreeBSD-src-9d778f2e566d3b8f4f781fe21ac6697448589753.tar.gz |
The POWER7 has only 32 SLB slots instead of 64, like other supported
64-bit PowerPC CPUs. Add infrastructure to support variable numbers of
SLB slots and move the user slot from 63 to 0, so that it is always
available.
Diffstat (limited to 'sys/powerpc/include/slb.h')
-rw-r--r-- | sys/powerpc/include/slb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/slb.h b/sys/powerpc/include/slb.h index f675e15..637110c 100644 --- a/sys/powerpc/include/slb.h +++ b/sys/powerpc/include/slb.h @@ -65,7 +65,7 @@ /* * User segment for copyin/out */ -#define USER_SLB_SLOT 63 +#define USER_SLB_SLOT 0 #define USER_SLB_SLBE (((USER_ADDR >> ADDR_SR_SHFT) << SLBE_ESID_SHIFT) | \ SLBE_VALID | USER_SLB_SLOT) |