/src/sys/arch/atari/stand/bootpref/ |
bootpref.c | 1 /* $NetBSD: bootpref.c,v 1.6 2009/03/17 00:18:40 he Exp $ */ 39 #include "bootpref.h" 90 u_char bootpref[] = {0, 0, 0, 0, 0, 0, 0, 0, 0}; local in function:main 94 bootpref[ARRAY_VID2] = readNVRAM (fd, NVRAM_VID2); 95 bootpref[ARRAY_VID1] = readNVRAM (fd, NVRAM_VID1); 103 if (checkOS (&bootpref[ARRAY_OS], optarg)) 109 if (checkInt (&bootpref[ARRAY_BOOTDLY], optarg, 116 if (checkKbdLang (&bootpref[ARRAY_KBDLANG], optarg)) 122 if (checkLang (&bootpref[ARRAY_LANG], optarg)) 128 if (checkInt (&bootpref[ARRAY_HOSTID], optarg [all...] |
/src/sys/arch/atari/stand/installboot/ |
installboot.c | 501 static const u_char bootpref = BOOTPREF_NETBSD; local in function:setNVpref 511 if (write(fd, &bootpref, (size_t)1) != 1)
|