aboutsummaryrefslogtreecommitdiffstats
path: root/sysdep/sparc32.h
blob: 3a175c8853a0969eb3de2bf8de1676deac0acf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ----------------------------------------------------------------------- *
 *   
 *   Copyright 2000-2008 H. Peter Anvin - All Rights Reserved
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as
 *   published by the Free Software Foundation, Inc.,
 *   59 Temple Place Ste 330, Boston MA 02111-1307, USA, version 2.1,
 *   incorporated herein by reference.
 *
 * ----------------------------------------------------------------------- */

/*
 * sysdep/sparc32.h
 *
 * System-specific constants for sparc32, included from system.h
 */

/* These constants are appropriate for Linux/sparc32 */

#include "sysdep/32bit.h"

/* This is where we map the database file - must be constant */
#if 1
/* This is appropriate for sun4m or sun4u in 32-bit mode, and
   allows a 1 GB database. */
#define ARENA_ADDRESS	((void *)0x9000000UL)
#else
/* This works on sun4c/sun4m/sun4u, but only allows 128 MB of database */
#define ARENA_ADDRESS	((void *)0xe4000000UL)
#endif