setenv("LINES", "24", 1); /* optional */
bios_getsmap();
if (bi_checkcpu())
setenv("hw.machine","amd64",1);
else
setenv("hw.machine","i386",1);
interact(); /* doesn't return */
/*
* Check to see if this CPU supports long mode.
*/
static int
int
bi_checkcpu(void)
{
char *cpu_vendor;