diff options
author | jl139090 <none@none> | 2007-01-03 11:36:28 -0800 |
---|---|---|
committer | jl139090 <none@none> | 2007-01-03 11:36:28 -0800 |
commit | 68ac2337c38c8af06edcf32a72e42de36ec72a9d (patch) | |
tree | 3d491af7977b6180e00da2501b3ac517462aa6cb /usr/src/lib/efcode/engine/init.c | |
parent | fa864c018a8a591e2185f96815ba4d33afb14236 (diff) | |
download | illumos-gate-68ac2337c38c8af06edcf32a72e42de36ec72a9d.tar.gz |
6442804 memory leaks in drmach() modules
6442821 System hangs during addboard (OS configure phase)
6443020 Need IKP deprobe error handling code for OPL
6444087 SCF did not report error in case of a timeout
6445761 Support memoryless board in DR
6445769 MTLB hit panic during DR copy rename
6445772 uninitialized variable used in plat_lgrp_config
6455124 Not enough dictionary size in fcode interpreter for I/O Max Conf.
6457380 HW Descriptior specification update
6459708 Kernel Migration fails when tried second time.
6461633 DR review cleanups
6464256 DR RED_State panic while running it with psradm command
6464274 DR panic when migrating kernel from a board with memory hole.
6473299 Skipping of retired pages during copy-rename not working properly
6489095 flushw is needed in drmach_copy_rename_prog__relocatable
Diffstat (limited to 'usr/src/lib/efcode/engine/init.c')
-rw-r--r-- | usr/src/lib/efcode/engine/init.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/usr/src/lib/efcode/engine/init.c b/usr/src/lib/efcode/engine/init.c index 128476cf4e..d6540c316f 100644 --- a/usr/src/lib/efcode/engine/init.c +++ b/usr/src/lib/efcode/engine/init.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,8 +19,8 @@ * CDDL HEADER END */ /* - * Copyright (c) 1999 by Sun Microsystems, Inc. - * All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -34,7 +33,7 @@ #include <fcode/log.h> fcode_env_t *initial_env = 0; -int dict_size = 0x100000; /* 1Mb, hopefully big enough... */ +int dict_size = 0x4000000; /* 64Mb, hopefully big enough... */ int stack_size = 0x200; void * @@ -42,7 +41,7 @@ safe_malloc(size_t n, char *f, int l) { void *p; - p = malloc((size_t) n); + p = malloc((size_t)n); #if defined(__sparcv9) /* * For Ultrasparc, we must force addresses to be less than 4Gb, @@ -55,7 +54,7 @@ safe_malloc(size_t n, char *f, int l) } #endif /* __sparcv9 */ if (p) { - memset(p, 0, (size_t) n); + memset(p, 0, (size_t)n); } else log_message(MSG_ERROR, "%s:%d:Malloc(%llx) failed\n", f, l, (uint64_t)n); |