> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 21:50:47 up 7 days, 6:48, 1 user, load average: 1.78, 1.11, 0.97
This commit is contained in:
@ -23,7 +23,7 @@ void do_syscall(Context *c) {
|
||||
a[2] = c->GPR3;
|
||||
a[3] = c->GPR4;
|
||||
|
||||
// TRACE("syscall %d: %s", a[0], __syscall_names[a[0]]);
|
||||
TRACE("syscall %d: %s", a[0], __syscall_names[a[0]]);
|
||||
switch (a[0]) {
|
||||
CASE(yield, yield())
|
||||
|
||||
|
@ -3,12 +3,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
static int evtdev = -1;
|
||||
static int fbdev = -1;
|
||||
static int screen_w = 0, screen_h = 0;
|
||||
|
||||
#include <sys/time.h>
|
||||
uint32_t NDL_GetTicks() {
|
||||
struct timeval t;
|
||||
gettimeofday(&t, NULL);
|
||||
|
Reference in New Issue
Block a user