move rrrrrrread_tsc from libsys to libc so anyone can use it

This commit is contained in:
Erik van der Kouwe
2010-08-20 18:43:56 +00:00
parent 205855b8ee
commit b337d3f8e5
6 changed files with 8 additions and 9 deletions

View File

@@ -86,6 +86,8 @@ SRCS+= \
putw.c \
pwcache.c \
random.c \
read_tsc.S \
read_tsc_64.c \
realpath.c \
rindex.c \
rlimit.c \

View File

@@ -1,12 +1,11 @@
#include "sysutil.h"
#include <minix/u64.h>
#include <minix/syslib.h>
#include <minix/minlib.h>
/* Utility function to work directly with u64_t
* By Antonio Mancina
*/
PUBLIC void read_tsc_64(t)
void read_tsc_64(t)
u64_t* t;
{
u32_t lo, hi;

View File

@@ -112,8 +112,6 @@ SRCS= \
env_prefix.c \
fkey_ctl.c \
tsc_util.c \
read_tsc.S \
read_tsc_64.c \
ser_putc.c \
stacktrace.c \
sys_hz.c \