aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/sn/addrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/sn/addrs.h')
-rw-r--r--include/asm-mips/sn/addrs.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/asm-mips/sn/addrs.h b/include/asm-mips/sn/addrs.h
index 00da24f506f6..6c8a5577ddf1 100644
--- a/include/asm-mips/sn/addrs.h
+++ b/include/asm-mips/sn/addrs.h
@@ -248,14 +248,6 @@
248 * for _x. 248 * for _x.
249 */ 249 */
250 250
251#ifdef _STANDALONE
252
253/* DO NOT USE THESE DIRECTLY IN THE KERNEL. SEE BELOW. */
254#define LOCAL_HUB(_x) (HUBREG_CAST (IALIAS_BASE + (_x)))
255#define REMOTE_HUB(_n, _x) (HUBREG_CAST (NODE_SWIN_BASE(_n, 1) + \
256 0x800000 + (_x)))
257#endif /* _STANDALONE */
258
259/* 251/*
260 * WARNING: 252 * WARNING:
261 * When certain Hub chip workaround are defined, it's not sufficient 253 * When certain Hub chip workaround are defined, it's not sufficient
@@ -322,20 +314,6 @@
322 PHYS_TO_K0(NODE_OFFSET(nasid) | ARCS_SPB_OFFSET) 314 PHYS_TO_K0(NODE_OFFSET(nasid) | ARCS_SPB_OFFSET)
323#define ARCS_SPB_SIZE 0x0400 315#define ARCS_SPB_SIZE 0x0400
324 316
325#ifdef _STANDALONE
326
327#define ARCS_TVECTOR_OFFSET 0x2800
328#define ARCS_PVECTOR_OFFSET 0x2c00
329
330/*
331 * These addresses are used by the master CPU to install the transfer
332 * and private vectors. All others use the SPB to find them.
333 */
334#define TVADDR (NODE_CAC_BASE(get_nasid()) + ARCS_TVECTOR_OFFSET)
335#define PVADDR (NODE_CAC_BASE(get_nasid()) + ARCS_PVECTOR_OFFSET)
336
337#endif /* _STANDALONE */
338
339#define KLDIR_OFFSET 0x2000 317#define KLDIR_OFFSET 0x2000
340#define KLDIR_ADDR(nasid) \ 318#define KLDIR_ADDR(nasid) \
341 TO_NODE_UNCAC((nasid), KLDIR_OFFSET) 319 TO_NODE_UNCAC((nasid), KLDIR_OFFSET)