Subversion Repositories HelenOS

Rev

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

Rev 3365 Rev 3397
Line 35... Line 35...
35
 * SmartFirmware unfortunatelly fails to claim physical memory
35
 * SmartFirmware unfortunatelly fails to claim physical memory
36
 * for the boot allocator if the requested memory is too big
36
 * for the boot allocator if the requested memory is too big
37
 * (roughly 512 kB and more). SmartFirmware runs on machines
37
 * (roughly 512 kB and more). SmartFirmware runs on machines
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 256 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)
43
#if defined (SMART_FIRMWARE)
44
    #define BALLOC_MAX_SIZE     (256 * 1024)
44
    #define BALLOC_MAX_SIZE     (128 * 1024)
45
#else
45
#else
46
    #define BALLOC_MAX_SIZE     (1024 * 1024)
46
    #define BALLOC_MAX_SIZE     (1024 * 1024)
47
#endif
47
#endif
48
 
48
 
49
typedef struct {
49
typedef struct {