1
0
Fork 0

Blackfin: unify memory map headers

Many aspects of the Blackfin memory map is exactly the same across all
variants.  Rather than copy and paste all of these duplicated values in
each header, unify all of these into the common Blackfin memory map header
file.  In the process, push down BF561 SMP specific stuff to the BF561
specific header to keep the noise down.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
wifi-calibration
Mike Frysinger 2009-06-17 11:25:06 -04:00
parent 985895bd8d
commit fa48f84a8c
16 changed files with 145 additions and 350 deletions

View File

@ -86,6 +86,7 @@ static inline void CSYNC(void)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#include <asm/mem_map.h>
#include <mach/blackfin.h> #include <mach/blackfin.h>
#include <asm/bfin-global.h> #include <asm/bfin-global.h>

View File

@ -1,87 +1,84 @@
/* /*
* mem_map.h * Common Blackfin memory map
* Common header file for blackfin family of processors.
* *
* Copyright 2004-2009 Analog Devices Inc.
* Licensed under the GPL-2 or later.
*/ */
#ifndef _MEM_MAP_H_ #ifndef __BFIN_MEM_MAP_H__
#define _MEM_MAP_H_ #define __BFIN_MEM_MAP_H__
#include <mach/mem_map.h> #include <mach/mem_map.h>
/* Every Blackfin so far has MMRs like this */
#ifndef COREMMR_BASE
# define COREMMR_BASE 0xFFE00000
#endif
#ifndef SYSMMR_BASE
# define SYSMMR_BASE 0xFFC00000
#endif
/* Every Blackfin so far has on-chip Scratch Pad SRAM like this */
#ifndef L1_SCRATCH_START
# define L1_SCRATCH_START 0xFFB00000
# define L1_SCRATCH_LENGTH 0x1000
#endif
/* Most parts lack on-chip L2 SRAM */
#ifndef L2_START
# define L2_START 0
# define L2_LENGTH 0
#endif
/* Most parts lack on-chip L1 ROM */
#ifndef L1_ROM_START
# define L1_ROM_START 0
# define L1_ROM_LENGTH 0
#endif
/* Allow wonky SMP ports to override this */
#ifndef GET_PDA_SAFE
# define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
# define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
# ifndef __ASSEMBLY__ # ifndef __ASSEMBLY__
#ifdef CONFIG_SMP static inline unsigned long get_l1_scratch_start_cpu(int cpu)
static inline ulong get_l1_scratch_start_cpu(int cpu)
{
return (cpu) ? COREB_L1_SCRATCH_START : COREA_L1_SCRATCH_START;
}
static inline ulong get_l1_code_start_cpu(int cpu)
{
return (cpu) ? COREB_L1_CODE_START : COREA_L1_CODE_START;
}
static inline ulong get_l1_data_a_start_cpu(int cpu)
{
return (cpu) ? COREB_L1_DATA_A_START : COREA_L1_DATA_A_START;
}
static inline ulong get_l1_data_b_start_cpu(int cpu)
{
return (cpu) ? COREB_L1_DATA_B_START : COREA_L1_DATA_B_START;
}
static inline ulong get_l1_scratch_start(void)
{
return get_l1_scratch_start_cpu(blackfin_core_id());
}
static inline ulong get_l1_code_start(void)
{
return get_l1_code_start_cpu(blackfin_core_id());
}
static inline ulong get_l1_data_a_start(void)
{
return get_l1_data_a_start_cpu(blackfin_core_id());
}
static inline ulong get_l1_data_b_start(void)
{
return get_l1_data_b_start_cpu(blackfin_core_id());
}
#else /* !CONFIG_SMP */
static inline ulong get_l1_scratch_start_cpu(int cpu)
{ {
return L1_SCRATCH_START; return L1_SCRATCH_START;
} }
static inline ulong get_l1_code_start_cpu(int cpu) static inline unsigned long get_l1_code_start_cpu(int cpu)
{ {
return L1_CODE_START; return L1_CODE_START;
} }
static inline ulong get_l1_data_a_start_cpu(int cpu) static inline unsigned long get_l1_data_a_start_cpu(int cpu)
{ {
return L1_DATA_A_START; return L1_DATA_A_START;
} }
static inline ulong get_l1_data_b_start_cpu(int cpu) static inline unsigned long get_l1_data_b_start_cpu(int cpu)
{ {
return L1_DATA_B_START; return L1_DATA_B_START;
} }
static inline ulong get_l1_scratch_start(void) static inline unsigned long get_l1_scratch_start(void)
{ {
return get_l1_scratch_start_cpu(0); return get_l1_scratch_start_cpu(0);
} }
static inline ulong get_l1_code_start(void) static inline unsigned long get_l1_code_start(void)
{ {
return get_l1_code_start_cpu(0); return get_l1_code_start_cpu(0);
} }
static inline ulong get_l1_data_a_start(void) static inline unsigned long get_l1_data_a_start(void)
{ {
return get_l1_data_a_start_cpu(0); return get_l1_data_a_start_cpu(0);
} }
static inline ulong get_l1_data_b_start(void) static inline unsigned long get_l1_data_b_start(void)
{ {
return get_l1_data_b_start_cpu(0); return get_l1_data_b_start_cpu(0);
} }
#endif /* CONFIG_SMP */
# endif /* __ASSEMBLY__ */ # endif /* __ASSEMBLY__ */
#endif /* !GET_PDA_SAFE */
#endif /* _MEM_MAP_H_ */ #endif

View File

@ -33,7 +33,6 @@
#define _MACH_BLACKFIN_H_ #define _MACH_BLACKFIN_H_
#include "bf518.h" #include "bf518.h"
#include "mem_map.h"
#include "defBF512.h" #include "defBF512.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,38 +1,16 @@
/* /*
* file: include/asm-blackfin/mach-bf518/mem_map.h * BF51x memory map
* based on: include/asm-blackfin/mach-bf527/mem_map.h
* author: Bryan Wu <cooloney@kernel.org>
* *
* created: * Copyright 2004-2009 Analog Devices Inc.
* description: * Licensed under the GPL-2 or later.
* Memory MAP Common header file for blackfin BF518/6/4/2 of processors.
* rev:
*
* modified:
*
* bugs: enter bugs at http://blackfin.uclinux.org/
*
* this program is free software; you can redistribute it and/or modify
* it under the terms of the gnu general public license as published by
* the free software foundation; either version 2, or (at your option)
* any later version.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* gnu general public license for more details.
*
* you should have received a copy of the gnu general public license
* along with this program; see the file copying.
* if not, write to the free software foundation,
* 59 temple place - suite 330, boston, ma 02111-1307, usa.
*/ */
#ifndef _MEM_MAP_518_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_518_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */
@ -89,20 +67,4 @@
#define BFIN_DSUPBANKS 0 #define BFIN_DSUPBANKS 0
#endif /*CONFIG_BFIN_DCACHE */ #endif /*CONFIG_BFIN_DCACHE */
/* Level 2 Memory - none */ #endif
#define L2_START 0
#define L2_LENGTH 0
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* _MEM_MAP_518_H_ */

View File

@ -33,7 +33,6 @@
#define _MACH_BLACKFIN_H_ #define _MACH_BLACKFIN_H_
#include "bf527.h" #include "bf527.h"
#include "mem_map.h"
#include "defBF522.h" #include "defBF522.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,38 +1,16 @@
/* /*
* file: include/asm-blackfin/mach-bf527/mem_map.h * BF52x memory map
* based on: include/asm-blackfin/mach-bf537/mem_map.h
* author: Michael Hennerich (michael.hennerich@analog.com)
* *
* created: * Copyright 2004-2009 Analog Devices Inc.
* description: * Licensed under the GPL-2 or later.
* Memory MAP Common header file for blackfin BF527/5/2 of processors.
* rev:
*
* modified:
*
* bugs: enter bugs at http://blackfin.uclinux.org/
*
* this program is free software; you can redistribute it and/or modify
* it under the terms of the gnu general public license as published by
* the free software foundation; either version 2, or (at your option)
* any later version.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* gnu general public license for more details.
*
* you should have received a copy of the gnu general public license
* along with this program; see the file copying.
* if not, write to the free software foundation,
* 59 temple place - suite 330, boston, ma 02111-1307, usa.
*/ */
#ifndef _MEM_MAP_527_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_527_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */
@ -89,20 +67,4 @@
#define BFIN_DSUPBANKS 0 #define BFIN_DSUPBANKS 0
#endif /*CONFIG_BFIN_DCACHE */ #endif /*CONFIG_BFIN_DCACHE */
/* Level 2 Memory - none */ #endif
#define L2_START 0
#define L2_LENGTH 0
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* _MEM_MAP_527_H_ */

View File

@ -34,7 +34,6 @@
#define BF533_FAMILY #define BF533_FAMILY
#include "bf533.h" #include "bf533.h"
#include "mem_map.h"
#include "defBF532.h" #include "defBF532.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,38 +1,16 @@
/* /*
* File: include/asm-blackfin/mach-bf533/mem_map.h * BF533 memory map
* Based on:
* Author:
* *
* Created: * Copyright 2004-2009 Analog Devices Inc.
* Description: * Licensed under the GPL-2 or later.
*
* Rev:
*
* Modified:
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING.
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#ifndef _MEM_MAP_533_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_533_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */
@ -158,20 +136,4 @@
#endif #endif
/* Level 2 Memory - none */ #endif
#define L2_START 0
#define L2_LENGTH 0
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* _MEM_MAP_533_H_ */

View File

@ -35,7 +35,6 @@
#define BF537_FAMILY #define BF537_FAMILY
#include "bf537.h" #include "bf537.h"
#include "mem_map.h"
#include "defBF534.h" #include "defBF534.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,38 +1,16 @@
/* /*
* file: include/asm-blackfin/mach-bf537/mem_map.h * BF537 memory map
* based on:
* author:
* *
* created: * Copyright 2004-2009 Analog Devices Inc.
* description: * Licensed under the GPL-2 or later.
* Memory MAP Common header file for blackfin BF537/6/4 of processors.
* rev:
*
* modified:
*
* bugs: enter bugs at http://blackfin.uclinux.org/
*
* this program is free software; you can redistribute it and/or modify
* it under the terms of the gnu general public license as published by
* the free software foundation; either version 2, or (at your option)
* any later version.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* gnu general public license for more details.
*
* you should have received a copy of the gnu general public license
* along with this program; see the file copying.
* if not, write to the free software foundation,
* 59 temple place - suite 330, boston, ma 02111-1307, usa.
*/ */
#ifndef _MEM_MAP_537_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_537_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */
@ -166,20 +144,4 @@
#endif #endif
/* Level 2 Memory - none */ #endif
#define L2_START 0
#define L2_LENGTH 0
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* _MEM_MAP_537_H_ */

View File

@ -35,7 +35,6 @@
#define BF538_FAMILY #define BF538_FAMILY
#include "bf538.h" #include "bf538.h"
#include "mem_map.h"
#include "defBF539.h" #include "defBF539.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,38 +1,16 @@
/* /*
* File: include/asm-blackfin/mach-bf538/mem_map.h * BF538 memory map
* Based on:
* Author:
* *
* Created: * Copyright 2004-2009 Analog Devices Inc.
* Description: * Licensed under the GPL-2 or later.
*
* Rev:
*
* Modified:
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING.
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#ifndef _MEM_MAP_538_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_538_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x20300000 /* Async Bank 3 */
@ -93,21 +71,4 @@
#define BFIN_DSUPBANKS 0 #define BFIN_DSUPBANKS 0
#endif /*CONFIG_BFIN_DCACHE*/ #endif /*CONFIG_BFIN_DCACHE*/
#endif
/* Level 2 Memory - none */
#define L2_START 0
#define L2_LENGTH 0
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* _MEM_MAP_538_H_ */

View File

@ -33,7 +33,6 @@
#define _MACH_BLACKFIN_H_ #define _MACH_BLACKFIN_H_
#include "bf548.h" #include "bf548.h"
#include "mem_map.h"
#include "anomaly.h" #include "anomaly.h"
#ifdef CONFIG_BF542 #ifdef CONFIG_BF542

View File

@ -1,38 +1,16 @@
/* /*
* file: include/asm-blackfin/mach-bf548/mem_map.h * BF548 memory map
* based on:
* author:
* *
* created: * Copyright 2004-2009 Analog Devices Inc.
* description: * Licensed under the GPL-2 or later.
* Memory MAP Common header file for blackfin BF537/6/4 of processors.
* rev:
*
* modified:
*
* bugs: enter bugs at http://blackfin.uclinux.org/
*
* this program is free software; you can redistribute it and/or modify
* it under the terms of the gnu general public license as published by
* the free software foundation; either version 2, or (at your option)
* any later version.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* gnu general public license for more details.
*
* you should have received a copy of the gnu general public license
* along with this program; see the file copying.
* if not, write to the free software foundation,
* 59 temple place - suite 330, boston, ma 02111-1307, usa.
*/ */
#ifndef _MEM_MAP_548_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_548_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x2C000000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x2C000000 /* Async Bank 3 */
@ -103,15 +81,4 @@
# define L2_LENGTH 0x20000 # define L2_LENGTH 0x20000
#endif #endif
/* Scratch Pad Memory */ #endif
#define L1_SCRATCH_START 0xFFB00000
#define L1_SCRATCH_LENGTH 0x1000
#define GET_PDA_SAFE(preg) \
preg.l = _cpu_pda; \
preg.h = _cpu_pda;
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif/* _MEM_MAP_548_H_ */

View File

@ -34,7 +34,6 @@
#define BF561_FAMILY #define BF561_FAMILY
#include "bf561.h" #include "bf561.h"
#include "mem_map.h"
#include "defBF561.h" #include "defBF561.h"
#include "anomaly.h" #include "anomaly.h"

View File

@ -1,13 +1,16 @@
/* /*
* Memory MAP * BF561 memory map
* Common header file for blackfin BF561 of processors. *
* Copyright 2004-2009 Analog Devices Inc.
* Licensed under the GPL-2 or later.
*/ */
#ifndef _MEM_MAP_561_H_ #ifndef __BFIN_MACH_MEM_MAP_H__
#define _MEM_MAP_561_H_ #define __BFIN_MACH_MEM_MAP_H__
#define COREMMR_BASE 0xFFE00000 /* Core MMRs */ #ifndef __BFIN_MEM_MAP_H__
#define SYSMMR_BASE 0xFFC00000 /* System MMRs */ # error "do not include mach/mem_map.h directly -- use asm/mem_map.h"
#endif
/* Async Memory Banks */ /* Async Memory Banks */
#define ASYNC_BANK3_BASE 0x2C000000 /* Async Bank 3 */ #define ASYNC_BANK3_BASE 0x2C000000 /* Async Bank 3 */
@ -82,9 +85,6 @@
#define COREA_L1_SCRATCH_START 0xFFB00000 #define COREA_L1_SCRATCH_START 0xFFB00000
#define COREB_L1_SCRATCH_START 0xFF700000 #define COREB_L1_SCRATCH_START 0xFF700000
#define L1_SCRATCH_START COREA_L1_SCRATCH_START
#define L1_SCRATCH_LENGTH 0x1000
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
/* /*
@ -155,14 +155,42 @@
dreg = ROT dreg BY -1; \ dreg = ROT dreg BY -1; \
dreg = CC; dreg = CC;
#else static inline unsigned long get_l1_scratch_start_cpu(int cpu)
#define GET_PDA_SAFE(preg) \ {
preg.l = _cpu_pda; \ return cpu ? COREB_L1_SCRATCH_START : COREA_L1_SCRATCH_START;
preg.h = _cpu_pda; }
static inline unsigned long get_l1_code_start_cpu(int cpu)
{
return cpu ? COREB_L1_CODE_START : COREA_L1_CODE_START;
}
static inline unsigned long get_l1_data_a_start_cpu(int cpu)
{
return cpu ? COREB_L1_DATA_A_START : COREA_L1_DATA_A_START;
}
static inline unsigned long get_l1_data_b_start_cpu(int cpu)
{
return cpu ? COREB_L1_DATA_B_START : COREA_L1_DATA_B_START;
}
static inline unsigned long get_l1_scratch_start(void)
{
return get_l1_scratch_start_cpu(blackfin_core_id());
}
static inline unsigned long get_l1_code_start(void)
{
return get_l1_code_start_cpu(blackfin_core_id());
}
static inline unsigned long get_l1_data_a_start(void)
{
return get_l1_data_a_start_cpu(blackfin_core_id());
}
static inline unsigned long get_l1_data_b_start(void)
{
return get_l1_data_b_start_cpu(blackfin_core_id());
}
#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* _MEM_MAP_533_H_ */ #endif