freebsd-dev/sys
Ed Schouten 072cb63ddc Make clock_gettime() and clock_getres() work for CloudABI programs.
Though the standard C library uses a 'struct timespec' using a 64-bit
'time_t', there is no need to use such a type at the system call level.
CloudABI uses a simple 64-bit unsigned timestamp in nanoseconds. This is
sufficient to express any time value from 1970 to 2554.

The CloudABI low-level interface also supports fetching timestamp values
with a lower precision. Instead of overloading the clock ID argument for
this purpose, the system call provides a precision argument that may be
used to specify the maximum slack. The current system call
implementation does not use this information, but it's good to already
have this available.

Expose cloudabi_convert_timespec(), as we're going to need this for
fstat() as well.

Obtained from:	https://github.com/NuxiNL/freebsd
2015-07-21 15:08:13 +00:00
..
amd64 Describe COMPAT_CLOUDABI64 in the amd64 configuration NOTES file. 2015-07-21 12:53:47 +00:00
arm Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
arm64 Add support for vendor specific function for PCI devid acquisition in ITS 2015-07-21 14:47:23 +00:00
boot move the prototype to the lib.h header.. This makes more sense, and 2015-07-18 22:47:46 +00:00
bsm
cam Create a dedicated function for ensuring that cdir and rdir are populated. 2015-07-11 16:22:48 +00:00
cddl Add an API for easily creating userspace threads in kernelspace. 2015-07-20 10:20:04 +00:00
compat Make clock_gettime() and clock_getres() work for CloudABI programs. 2015-07-21 15:08:13 +00:00
conf Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
contrib Implement CloudABI memory management system calls. 2015-07-17 09:00:38 +00:00
crypto Complete the move that was started w/ r263218.. For some reason I 2015-07-11 03:12:34 +00:00
ddb Fix KSTACK_PAGES issue when the default value was changed in KERNCONF 2015-07-16 10:46:52 +00:00
dev Add support for vendor specific function for PCI devid acquisition in ITS 2015-07-21 14:47:23 +00:00
fs The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Add a new option to gpart(8) to fix Lenovo BIOS boot issue 2015-07-15 02:23:55 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
isa
kern The part of r285680 which removed release semantic for two stores to 2015-07-21 14:39:34 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Populate hw.model with the CPU model information. 2015-07-14 05:14:10 +00:00
modules Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
net Prevent null-pointer dereferencing. 2015-07-20 08:21:51 +00:00
net80211 Break out the current 802.11 software scan methods into an indirect table. 2015-06-08 02:35:43 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet When a tunneling protocol is being used with UDP we must release the 2015-07-21 09:54:31 +00:00
netinet6 When a tunneling protocol is being used with UDP we must release the 2015-07-21 09:54:31 +00:00
netipsec Summary: Fix LINT build. The names of the new AES modes were not 2015-07-10 02:23:50 +00:00
netnatm
netpfil Add helper functions for IP checksum adjusting. Use these functions in 2015-07-20 07:26:31 +00:00
netsmb
nfs Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed Fix broken implementation of "kvasprintf()" function by adding missing 2015-07-03 11:16:20 +00:00
opencrypto Fix XTS, and name things a bit better... 2015-07-14 07:45:18 +00:00
pc98 Spell crypto correctly. 2015-07-14 10:47:56 +00:00
powerpc Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
rpc Remove hard limits on number of accepting NFS connections. 2015-04-07 10:25:27 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Fix KSTACK_PAGES issue when the default value was changed in KERNCONF 2015-07-16 10:46:52 +00:00
sys Add an API for easily creating userspace threads in kernelspace. 2015-07-20 10:20:04 +00:00
teken
tools
ufs Move chdir/chroot-related fdp manipulation to kern_descrip.c 2015-07-11 16:19:11 +00:00
vm Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
x86 Typo in comment. 2015-07-20 19:51:41 +00:00
xdr
xen Garbage collect comments which related to the pre-r284296 support for a 2015-06-21 06:05:33 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00