diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1998-10-24 00:31:21 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1998-10-24 00:31:21 +0000 |
| commit | b6542d2e4f04b91918a9815a1239d2f495744516 (patch) | |
| tree | 221e9b8d77cfe5d849464fd1f1b18f2d30f27bd9 | |
| parent | 0cae710c497c705190fbe2d5a90a4848bdfcbe76 (diff) | |
Notes
| -rw-r--r-- | sys/boot/alpha/common/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/alpha/common/main.c b/sys/boot/alpha/common/main.c index f3093555d888..44847cdbe7af 100644 --- a/sys/boot/alpha/common/main.c +++ b/sys/boot/alpha/common/main.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: main.c,v 1.5 1998/09/26 10:51:36 dfr Exp $ + * $Id: main.c,v 1.6 1998/10/19 09:12:41 dfr Exp $ */ @@ -81,8 +81,9 @@ main(void) * If this is the two stage disk loader, add the memory used by * the first stage to the heap. */ +#define STACK_SIZE 16384 free_region((void *)PRIMARY_LOAD_ADDRESS, - (void *)SECONDARY_LOAD_ADDRESS); + (void *)SECONDARY_LOAD_ADDRESS - STACK_SIZE); #endif /* |
