next up previous contents
Next: MMU Management Up: Hardware Abstraction Layer: Portable Previous: Realtime Clock (RTC) Management   Contents

Subsections

Basic Memory Management

On most systems, you simply have a flat chunk of RAM available which dlmalloc and other higher level pieces will manage. This very basic low-level memory management simply tracks that and provides a standard Unix(tm) style sbrk() function call. This effectively abstracts the address space.

Eventually we'll probably have functions for both getting and setting the time, but for now there's just one to retrieve it.

time_t rtc_unix_secs()

Returns the current day/time in *nix "seconds since 1970" format.



Dan Potter 2002-07-29