Remove the ``loader overlaps bss, kernel must bzero'' printf since that

is so often reported as an error condition when it is not.  We print the
size of things so for those who want to know if this happened they can
figure it out from the size information that is printed.
This commit is contained in:
Rodney W. Grimes 1993-10-08 20:19:23 +00:00
parent f87a326945
commit bb9b7f49b4
2 changed files with 8 additions and 10 deletions

View File

@ -29,6 +29,9 @@
/*
* HISTORY
* $Log: boot.c,v $
* Revision 1.3 1993/07/16 13:06:08 rgrimes
* Changed header from 386BSD BOOT to FreeBSD BOOT.
*
* Revision 1.2 1993/07/13 18:15:24 root
* New boot blocks, from Bruce Evans, and NetBSD fixes. Allows kernel to
* be loaded above 1MB. Same boot code for floppies now. Speed improvements.
@ -134,7 +137,7 @@ int drive;
ouraddr,
argv[7] = memsize(0),
argv[8] = memsize(1),
"$Revision: 1.2 $");
"$Revision: 1.3 $");
printf("use options hd(1,...... to boot sd0 when wd0 is also installed\n");
gateA20();
loadstart:
@ -209,10 +212,6 @@ loadprog(howto)
printf("Only hope is to link the kernel for > 1MB\n");
return;
}
if((addr + head.a_text + head.a_data + head.a_bss) > ouraddr)
{
printf("loader overlaps bss, kernel must bzero\n");
}
}
printf("text=0x%x ", head.a_text);
/********************************************************/

View File

@ -29,6 +29,9 @@
/*
* HISTORY
* $Log: boot.c,v $
* Revision 1.3 1993/07/16 13:06:08 rgrimes
* Changed header from 386BSD BOOT to FreeBSD BOOT.
*
* Revision 1.2 1993/07/13 18:15:24 root
* New boot blocks, from Bruce Evans, and NetBSD fixes. Allows kernel to
* be loaded above 1MB. Same boot code for floppies now. Speed improvements.
@ -134,7 +137,7 @@ int drive;
ouraddr,
argv[7] = memsize(0),
argv[8] = memsize(1),
"$Revision: 1.2 $");
"$Revision: 1.3 $");
printf("use options hd(1,...... to boot sd0 when wd0 is also installed\n");
gateA20();
loadstart:
@ -209,10 +212,6 @@ loadprog(howto)
printf("Only hope is to link the kernel for > 1MB\n");
return;
}
if((addr + head.a_text + head.a_data + head.a_bss) > ouraddr)
{
printf("loader overlaps bss, kernel must bzero\n");
}
}
printf("text=0x%x ", head.a_text);
/********************************************************/