From: Ben Gras Date: Thu, 11 Dec 2008 14:09:38 +0000 (+0000) Subject: . ser_putc() goes to library X-Git-Tag: v3.1.4~215 X-Git-Url: http://zhaoyanbai.com/repos/icons/static/man.3.ps?a=commitdiff_plain;h=682b9a872e5164977fac157d1fba138c574b6f83;p=minix.git . ser_putc() goes to library . another cmd for getinfo - obtaining current HZ value --- diff --git a/include/minix/sysinfo.h b/include/minix/sysinfo.h index 2669159ff..072c4eb4e 100644 --- a/include/minix/sysinfo.h +++ b/include/minix/sysinfo.h @@ -10,6 +10,7 @@ _PROTOTYPE( ssize_t getsysinfo_up, (endpoint_t who, int what, size_t size, void *where)); #define SIU_LOADINFO 1 /* retrieve load info data */ +#define SIU_SYSTEMHZ 2 /* retrieve system clock frequency */ /* Exported system parameters. */ diff --git a/include/minix/sysutil.h b/include/minix/sysutil.h index 2af9bbc05..e8b3ccab4 100644 --- a/include/minix/sysutil.h +++ b/include/minix/sysutil.h @@ -57,6 +57,7 @@ _PROTOTYPE( void util_stacktrace_strcat, (char *)); _PROTOTYPE( int micro_delay, (u32_t micros)); _PROTOTYPE( u32_t micros_to_ticks, (u32_t micros)); _PROTOTYPE( int asynsend, (endpoint_t ep, message *msg)); +_PROTOTYPE( void ser_putc, (char c)); #define ASSERT(c) if(!(c)) { panic(__FILE__, "assert " #c " failed at line", __LINE__); }