Keeps the Moonlight startup objects local to the board. Updates the plain and SMP VP regression harnesses for the new ThreadX revision and replaces generated ISR hooks with direct callbacks.
11 lines
201 B
C
11 lines
201 B
C
#include "hwtimer.h"
|
|
#include <time.h>
|
|
|
|
time_t time(time_t *result)
|
|
{
|
|
time_t now = (time_t)(get_aclint_mtime(aclint) / TICKNUM_PER_SECOND);
|
|
if (result)
|
|
*result = now;
|
|
return now;
|
|
}
|