Need to define load address in PARAM.

This commit is contained in:
brezak 1993-08-28 00:03:51 +00:00
parent db43439bb0
commit e443c955ff
2 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkmakefile.c 5.33 (Berkeley) 7/1/91";*/
static char rcsid[] = "$Id: mkmakefile.c,v 1.14 1993/08/03 00:02:01 mycroft Exp $";
static char rcsid[] = "$Id: mkmakefile.c,v 1.15 1993/08/28 00:03:51 brezak Exp $";
#endif /* not lint */
/*
@ -191,10 +191,10 @@ makefile()
maxusers = up->u_min;
} else if (maxusers > up->u_max)
printf("warning: maxusers > %d (%d)\n", up->u_max, maxusers);
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d -DMAXFDESCS=%d\n",
zone, dst, maxusers, maxfdescs);
if (loadaddress == 0)
loadaddress = DEF_LOADADDRESS;
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d -DMAXFDESCS=%d -DLOAD_ADDRESS=0x%x\n",
zone, dst, maxusers, maxfdescs, loadaddress);
fprintf(ofp, "LOAD_ADDRESS=%X\n", loadaddress);
for (op = mkopt; op; op = op->op_next)
fprintf(ofp, "%s=%s\n", op->op_name, op->op_value);

View File

@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkmakefile.c 5.33 (Berkeley) 7/1/91";*/
static char rcsid[] = "$Id: mkmakefile.c,v 1.14 1993/08/03 00:02:01 mycroft Exp $";
static char rcsid[] = "$Id: mkmakefile.c,v 1.15 1993/08/28 00:03:51 brezak Exp $";
#endif /* not lint */
/*
@ -191,10 +191,10 @@ makefile()
maxusers = up->u_min;
} else if (maxusers > up->u_max)
printf("warning: maxusers > %d (%d)\n", up->u_max, maxusers);
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d -DMAXFDESCS=%d\n",
zone, dst, maxusers, maxfdescs);
if (loadaddress == 0)
loadaddress = DEF_LOADADDRESS;
fprintf(ofp, "PARAM=-DTIMEZONE=%d -DDST=%d -DMAXUSERS=%d -DMAXFDESCS=%d -DLOAD_ADDRESS=0x%x\n",
zone, dst, maxusers, maxfdescs, loadaddress);
fprintf(ofp, "LOAD_ADDRESS=%X\n", loadaddress);
for (op = mkopt; op; op = op->op_next)
fprintf(ofp, "%s=%s\n", op->op_name, op->op_value);