26 Commits

Author SHA1 Message Date
Theodore Dubois
2748b8ade6 Add test for modifying code that was just run 2018-05-27 12:13:46 -07:00
Theodore Dubois
cc3dde2968 Fix several emulation bugs 2018-05-26 11:58:32 -07:00
Theodore Dubois
034e2cdb9b Add thread test program 2018-02-02 16:57:57 -08:00
Theodore Dubois
255f8f18c8 Use a per-cpu TLB 2017-12-24 16:02:15 -08:00
Theodore Dubois
e6f7c9cbee Fix compile errors in the qemu test 2017-12-24 12:15:59 -08:00
Theodore Dubois
9365b66ceb Replace nop function with asm volatile("") 2017-12-24 12:15:14 -08:00
Theodore Dubois
d33d15d36f Implement rt_sigreturn 2017-09-03 10:45:36 -07:00
Theodore Dubois
ea65057bed Add fpu support, somewhat working poll, separate tests into new project, \r\n, jeez I need to commit more often 2017-08-28 12:54:23 -07:00
Theodore Dubois
b22540a183 Finish implementing ttys
still missing poll
2017-08-19 18:37:08 -07:00
Theodore Dubois
a2fb2f6bdc Implement vfork, nanosleep, readv, wait4, setitimer 2017-07-27 13:09:48 -07:00
Theodore Dubois
6292a97b6e Implement clone system call, and copy-on-write 2017-07-11 15:08:47 -07:00
Theodore Dubois
c7b66c122a Move busybox building into a custom target 2017-07-05 22:16:54 -07:00
Theodore Dubois
a661e42b08 Start working on signal handling, completely refactor cpu emulator, and fix qemu test program compiling on clang 2017-07-04 16:10:13 -07:00
Theodore Dubois
2a2af1d510 Add qemu test program 2017-06-27 18:48:52 -07:00
Theodore Dubois
101baa6a8b Implement rt_sigaction and start implementing signal handling 2017-06-26 17:05:43 -07:00
Theodore Dubois
a74f2869a3 Make busybox ls work 2017-06-20 18:21:32 -07:00
Theodore Dubois
adfbe8261d Make busybox gzip work 2017-06-19 15:21:20 -07:00
Theodore Dubois
65667d57e8 Get busybox cat to work 2017-06-17 18:44:25 -07:00
Theodore Dubois
559ae4cbcc Make Hello World with libc and ld work
IF you want to understand how amazing this is, watch https://www.twitch.tv/videos/152115137
2017-06-15 14:18:24 -07:00
Theodore Dubois
c90e717a40 Get up to mprotect on linker 2017-06-14 20:32:37 -07:00
Theodore Dubois
1c0b082513 Make filesystem work well enough for cat program 2017-06-07 14:30:48 -07:00
Theodore Dubois
6a9bc164a1 Add elf interpreter loading 2017-06-05 15:12:44 -07:00
Theodore Dubois
1cba915a2b Add fibbonaci benchmark
To make it work I also added some opcodes, cli argument support, and
sped up the memory compare thing in ptraceomatic.
2017-06-05 07:23:59 -07:00
Theodore Dubois
8cd8c258e7 Add a nice little looping benchmark
Currently shows ish with optimizations on is 20 times slower than a real
chip. I'm hoping I can get that down to 10 times slower.
2017-06-05 03:23:05 -07:00
Theodore Dubois
f19cf67d02 Implement uname and add some opcodes 2017-05-27 16:34:29 -07:00
Theodore Dubois
92752123ca move testing programs around 2017-05-08 14:39:34 -07:00