minix/lib/libsys
Thomas Veerman db8c1ee9d0 ARM: provide free running clock to replace ccnt
The Cycle CouNTer on ARM cannot be used reliably as it wraps around
rather quickly and can be altered by user space (on Minix). Furthermore,
it's buggy when wrapping and is not implemented at all on the Linaro
Beagleboard emulator.

This patch programs GPTIMER10 as a free running clock at 1.625 MHz (it
doesn't generate interrupts). It's memory mapped into every process,
which enables libsys to provide micro_delay().

Change-Id: Iba004c6c62976762fe154ea390d69e518eec1531
2013-01-31 15:19:11 +00:00
..
arch ARM: provide free running clock to replace ccnt 2013-01-31 15:19:11 +00:00
alloc_util.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
assert.c drivers: resolve compiler warnings 2012-03-05 22:32:55 +01:00
asynsend.c retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
ds.c drop safemap code 2012-10-30 13:55:42 +01:00
env_get_prm.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
env_panic.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
env_parse.c various coverity-inspired fixes 2012-07-16 14:00:56 +02:00
env_prefix.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
fkey_ctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
gcov.c drop segment from safecopy invocations 2012-06-16 16:22:51 +00:00
getsysinfo.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
getuptime.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
getuptime2.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
input.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
kernel_call.c SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
kprintf.c panic() cleanup. 2010-03-05 15:05:11 +00:00
kputc.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
kputs.c intercept puts() in libsys, for gcc 2010-04-23 20:23:33 +00:00
Makefile Split libsys in arch dependent parts 2013-01-25 17:07:01 +00:00
optset.c libsys: let optset parse largeish positive values 2012-09-03 12:20:17 +00:00
panic.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
pci.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
pci_attr_r8.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_attr_r16.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_attr_r32.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_attr_w8.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_attr_w16.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_attr_w32.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_del_acl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_dev_name.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_find_dev.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_first_dev.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_get_bar.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_ids.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_init.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_next_dev.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_rescan_bus.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_reserve.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_set_acl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci_slot_name.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
safecopies.c drop safemap code 2012-10-30 13:55:42 +01:00
sched_start.c libsys: resolve Coverity warnings 2012-08-09 00:16:36 +02:00
sched_stop.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sef.c libsys: resolve Coverity warnings 2012-08-09 00:16:36 +02:00
sef_gcov.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sef_init.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sef_liveupdate.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sef_ping.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sef_signal.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
shlib_version Adding shlib_version for libsys 2012-11-15 16:07:29 +01:00
sqrt_approx.c introduce sqrt_approx() in -lsys 2011-07-04 02:51:12 +02:00
stacktrace.c libsys: remove unused stacktrace variant 2012-08-09 00:16:35 +02:00
sys_abort.c Remove ability to pass commands to bootloader 2012-11-22 19:16:17 +01:00
sys_clear.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_cprof.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_endsig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_exec.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_exit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_fork.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
sys_getinfo.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_getsig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_hz.c Add an UNUSED annotation, and use it in libsys. 2010-03-11 14:23:33 +00:00
sys_irqctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_kill.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_mcontext.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_memset.c further libexec generalization 2012-06-07 15:15:02 +02:00
sys_physcopy.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
sys_privctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_profbuf.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_runctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_safecopy.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
sys_safememset.c libsys: add sys_safememset() 2012-09-26 02:18:00 +02:00
sys_schedctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_schedule.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_setalarm.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_setgrant.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sigreturn.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_sigsend.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_sprof.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_statectl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_stime.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_sysctl.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_times.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_trace.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_umap.c drop from segments physcopy/vircopy invocations 2012-06-18 12:28:40 +00:00
sys_update.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_vircopy.c No more intel/minix segments. 2012-07-15 22:30:15 +02:00
sys_vmctl.c Rename sys_vmctl_get_cr3_i386 2012-08-12 23:30:54 +02:00
sys_vsafecopy.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_vtimer.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sys_vumap.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
syslib.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sysutil.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
taskcall.c SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
tickdelay.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
timers.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_brk.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_exit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_fork.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_info.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_map_phys.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_notify_sig.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_procctl.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
vm_umap.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm_yield_get_block.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vprintf.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00