Allow USER_SR to be overriden on a per-port basis

This commit is contained in:
matt 2002-07-07 19:29:18 +00:00
parent 902fd38614
commit e64bc5acc1
1 changed files with 4 additions and 0 deletions

View File

@ -124,10 +124,14 @@
* Fixed segments
*/
#ifdef OLDPMAP
#ifndef USER_SR
#define USER_SR 13
#endif
#define KERNEL_SR 14
#else
#ifndef USER_SR
#define USER_SR 12
#endif
#define KERNEL_SR 13
#define KERNEL2_SR 14
#define KERNEL2_SEGMENT VSID_MAKE(KERNEL2_SR, KERNEL_VSIDBITS)