Allow up to 512K for boot code on GPT with BIOS. As pmbr.s says in a comment,

"545K should be enough for any boot code". This rounds down slightly.

Reported by:	Matthew Fuller
MFC after:	2 weeks
This commit is contained in:
Nathan Whitehorn 2014-07-11 23:41:56 +00:00
parent 6bfc8b0112
commit 963ae465d5

View File

@ -69,7 +69,7 @@ bootpart_size(const char *scheme) {
return (0);
if (strcmp(platform, "BIOS") == 0)
return (64*1024);
return (512*1024);
else
return (800*1024);