Subversion Repositories HelenOS

Rev

Rev 3397 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3397 Rev 3479
Line 38... Line 38...
38
 * containing newer versions of UltraSPARC processors. It
38
 * containing newer versions of UltraSPARC processors. It
39
 * has been observed that the OFW tree is small enough for these
39
 * has been observed that the OFW tree is small enough for these
40
 * machines so that it can fit into 128 kB. This is a workaround how
40
 * machines so that it can fit into 128 kB. This is a workaround how
41
 * to get rid of the memory claiming failure.
41
 * to get rid of the memory claiming failure.
42
 */
42
 */
43
#if defined (SMART_FIRMWARE)
-
 
44
    #define BALLOC_MAX_SIZE     (128 * 1024)
43
#define BALLOC_MAX_SIZE     (128 * 1024)
45
#else
-
 
46
    #define BALLOC_MAX_SIZE     (1024 * 1024)
-
 
47
#endif
-
 
48
 
44
 
49
typedef struct {
45
typedef struct {
50
    uintptr_t base;
46
    uintptr_t base;
51
    size_t size;
47
    size_t size;
52
} ballocs_t;
48
} ballocs_t;