if (ipc_sendrec(VFS_PROC_NR, &mess) != OK || mess.m_type != OK)
panic("can't sync up with VFS");
-#if defined(__i386__)
- uts_val.machine[0] = 'i';
- strcpy(uts_val.machine + 1, itoa(getprocessor()));
-#elif defined(__arm__)
- strcpy(uts_val.machine, "arm");
-#endif
-
system_hz = sys_hz();
/* Initialize user-space scheduling. */
"noname", /* node/network name */
OS_RELEASE, /* O.S. release (e.g. 3.3.0) */
OS_VERSION, /* O.S. version (e.g. Minix 3.3.0 (GENERIC)) */
- "xyzzy", /* machine (cpu) type (filled in later) */
#if defined(__i386__)
+ "i386", /* machine (cpu) type */
"i386", /* architecture */
#elif defined(__arm__)
+ "arm", /* machine (cpu) type */
"arm", /* architecture */
#else
#error /* oops, no 'uname -mk' */