From 682b9a872e5164977fac157d1fba138c574b6f83 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 11 Dec 2008 14:09:38 +0000 Subject: [PATCH] . ser_putc() goes to library . another cmd for getinfo - obtaining current HZ value --- include/minix/sysinfo.h | 1 + include/minix/sysutil.h | 1 + 2 files changed, 2 insertions(+) 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__); } -- 2.44.0