zephyr/include
Peter Bigot a6067a38f8 kernel: reimplement k_uptime_get_32()
The current implementation does not return the low 32 bits of
k_uptime_get() as suggested by it's documentation; it returns the number
of milliseconds represented by the low 32-bits of the underlying system
clock.  The truncation before translation results in discontinuities at
every point where the system clock increments bit 33.

Reimplement it using the full-precision value, and update the
documentation to note that this variant has little value for
long-running applications.

Closes #18739.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-09-03 22:50:41 +02:00
..
app_memory cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
arch xtensa: fix CONFIG_NUM_IRQS if !CONFIG_*_LEVEL_INTERRUPTS 2019-08-24 00:47:44 +02:00
audio
bluetooth Bluetooth: UUID: Fix confusing documentation of bt_uuid_create() 2019-09-03 16:41:00 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console
crypto cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
data include: json: reorder designated initializers 2019-07-22 18:10:51 -07:00
debug include: gcov: fix compilation error 2019-07-03 07:19:49 -07:00
dfu include/dfu: rearrange for standard use of extern "C" in private headers 2019-08-13 18:00:31 +02:00
disk sdhc: rename disk_access_sdhc.c 2019-07-10 11:58:15 -05:00
display subsys/cfb: improve font structure packing 2019-07-31 05:43:50 -04:00
drivers include/drivers: Removing legacy leftovers in PWM header 2019-08-23 23:51:28 +02:00
dt-bindings interrupt_controller: gic: Add support for the GIC400 2019-08-09 22:50:50 +02:00
fs include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
linker LOG_BACKEND_DEFINE(): use Z_STRUCT_SECTION_ITERABLE() 2019-08-06 10:03:13 +02:00
logging logging: Add basic userspace support 2019-08-27 14:29:21 -04:00
mgmt
misc cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
net include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
nvs
posix posix: pthread: pthread_mutex_timedlock should accept absolute deadline 2019-08-27 17:50:48 -04:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random
settings doc/settings: doxygen for settings read callback method 2019-08-12 15:25:17 +02:00
shell shell_history: align buffer to pointer size 2019-07-04 09:28:47 +02:00
stats
storage include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys sys: byteorder: Add support for sys_put_be64() 2019-08-28 09:39:56 +02:00
toolchain Revert "toolchain: gcc: Remove ref. to undefined sym. CONFIG_ISA_ARM" 2019-08-09 22:50:50 +02:00
usb
zephyr riscv: make core code 64-bit compatible 2019-08-02 13:54:48 -07:00
adc.h
atomic.h
base64.h
cache.h
can.h
clock_control.h
console.h
counter.h
crc.h
device.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
disk_access.h
display.h cleanup: include/: move display.h to drivers/display.h 2019-06-27 22:55:49 -04:00
dma.h
entropy.h
espi.h API: espi: Add API for Enhanced Serial Peripheral Interface 2019-07-25 08:23:38 -07:00
exc_handle.h
fatal.h kernel: add z_fatal_halt() to interface 2019-08-06 19:32:22 -07:00
fcb.h
flash_map.h
flash.h
fs.h
generated_dts_board.h dts: Add new DTS/binding parser 2019-07-29 16:22:17 -04:00
gna.h
gpio.h
hwinfo.h
i2c.h
i2s.h
init.h
ipm.h
irq_nextlevel.h drivers: interrupts: Add a set_priority callback 2019-08-09 22:50:50 +02:00
irq_offload.h
irq.h
json.h
kernel_includes.h kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
kernel_version.h
kernel.h kernel: reimplement k_uptime_get_32() 2019-09-03 22:50:41 +02:00
led_strip.h
led.h
pinmux.h
power.h
ptp_clock.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
pwm.h
ring_buffer.h cleanup: include/: move ring_buffer.h to sys/ring_buffer.h 2019-06-27 22:55:49 -04:00
rtc.h
sched_priq.h cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
sensor.h cleanup: include/: move sensor.h to drivers/sensor.h 2019-06-27 22:55:49 -04:00
shared_irq.h
spi.h cleanup: include/: move spi.h to drivers/spi.h 2019-06-27 22:55:49 -04:00
spinlock.h cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
stats.h
sw_isr_table.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_clock.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_io.h
syscall.h syscalls: Export _is_user_context() regardless of CONFIG_USERSPACE 2019-08-27 14:29:21 -04:00
toolchain.h
tracing.h
tty.h
uart.h cleanup: include/: move uart.h to drivers/uart.h 2019-06-27 22:55:49 -04:00
updatehub.h
watchdog.h
zephyr.h