Files
lk/platform/vax/init.c
Travis Geiselbrecht 89705cb065 [arch][vax] initial stab at booting on a vax
Booting on a real MicroVAX 3100/40 via netboot and on simh emulating a
micrvax 3900. Doesn't fully work, lots of stuff is stubbed out, but it
starts to run and hits unimplemented bits and stops.
2019-10-12 21:54:04 -07:00

21 lines
426 B
C

/*
* Copyright (c) 2019 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <lk/debug.h>
#include <platform.h>
#include <platform/timer.h>
// stubbed out time
static lk_time_t t = 0;
lk_time_t current_time() {
return ++t;
}
lk_bigtime_t current_time_hires() {
return (++t) * 1000;
}