Commit graph

2997 commits

Author SHA1 Message Date
copy fe74b8d332 Fix license
- The end year was really unnecessary and mostly out of date
- Talk about contributors in plural
- Remove FreeBSD clause (as per readme)
2020-12-31 19:14:29 -06:00
Fabian b5b1cbf7da Simplify 2020-12-31 19:14:29 -06:00
Fabian c84a814610 Remove unused A20 stuff 2020-12-31 19:14:29 -06:00
Fabian d5c9b29942 Upgrade jshint 2020-12-31 19:14:29 -06:00
Fabian b7e5f28104 Fix rust warning 2020-12-31 19:14:29 -06:00
Fabian 48a9847d16 s/oxide// 2020-12-31 19:14:29 -06:00
Fabian 4ab8ef9fdd Docs: Overview of SSE shifts 2020-12-31 19:14:29 -06:00
Fabian c97301842e Put jit_cache_array and jit_page_first_entry into global state, reduces the size of the .wasm files by 8MB because for some reason the rust compiler decides to put them into the data section 2020-12-31 19:14:29 -06:00
Fabian 4bfd024366 Simplify gen_safe_read_write by removing fallback function 2020-12-31 19:14:29 -06:00
Fabian 697bd4c64d Disambiguate drop 2020-12-31 19:14:29 -06:00
Fabian 941208c948 Remove defunct test coverage 2020-12-31 19:14:29 -06:00
Fabian caa08e8d4e copy-to-sha256: Log name 2020-12-31 19:14:29 -06:00
Fabian cd4977f517 Simplify 2020-12-31 19:14:29 -06:00
Fabian 489f212c47 Fix broken string test 2020-12-31 19:14:29 -06:00
Fabian a7ae6603f0 Temporarily disable broken tests 2020-12-31 19:14:29 -06:00
Fabian b0a34e7a86 fs: assert that sha256 is present 2020-12-31 19:14:29 -06:00
Fabian c994dbc08c Fix spurious </a> in index.html 2020-12-31 19:14:29 -06:00
Fabian 13a506de52 fix kvm-unit-test with newer versions of gcc 2020-12-31 19:14:29 -06:00
Fabian 33e608fa70 fix rust warning 2020-12-31 19:14:29 -06:00
Fabian 9efade88ee Fix compilation with latest closure compiler 2020-12-31 19:14:29 -06:00
Fabian 1665e9b358 Fix instruction counter wrap-around 2020-12-31 19:14:29 -06:00
Fabian b3a3d930e3 make default makefile target the debug build 2020-12-31 19:14:29 -06:00
Fabian 60adbf9b1f Fix: Side-effects in lsl/lar/arpl even when #ud is triggered 2020-12-31 19:14:29 -06:00
Fabian 9a38e6a654 nasmtests: Check exception eip 2020-12-31 19:14:29 -06:00
Fabian 28d70d6250 Add test for fsave and frstor 2020-12-31 19:14:29 -06:00
Fabian f058037006 Fix exception eip in #ud and #gp in jitted code 2020-12-31 19:14:29 -06:00
Fabian 591fccb5d8 Add some comments to unimplemented instructions 2020-12-31 19:14:29 -06:00
Fabian 0c561ece3d Enable nasm test for fnstsw 2020-12-31 19:14:29 -06:00
Fabian 6f366b1277 Refactor: Use gen_set_previous_eip_offset_from_eip_with_low_bits in gen_safe_read_write 2020-12-31 19:14:29 -06:00
Fabian db381ef39f Remove broken tests (exception is different in native and v86) 2020-12-31 19:14:29 -06:00
Fabian 5515c32e8d Correct codegen for some undefined fpu instructions 2020-12-31 19:14:29 -06:00
Fabian cd909c4f02 Add tests for fstenv/fldenv/fld [m80] 2020-12-31 19:14:29 -06:00
Fabian 48940e426a Fix fldm80/fstenv/fldenv: These instructions were generating and unconditional exit from jitted code but not updating eip. Changed to use the fallback mechanism for handling pagefaults 2020-12-31 19:14:29 -06:00
Fabian 3f1ba044ed Increment timestamp_counter before running basic block 2020-12-31 19:14:29 -06:00
Fabian 85e846480f Assert that TSC changes so that do_many_cycles_native is guaranteed to make progress 2020-12-31 19:14:29 -06:00
Fabian 70e637b31b Integration test: Check serial text 2020-12-31 19:14:29 -06:00
Fabian 7d48636dda Integration tests: Use debug bios 2020-12-31 19:14:29 -06:00
Fabian 861aea3157 Add recording serial adapter 2020-12-31 19:14:29 -06:00
Fabian e2eecc7295 task_switch_test*_jit: assert that jit agrees 2020-12-31 19:14:29 -06:00
Fabian 492a2cf78e Update previous_ip only if page fault is going to happen 2020-12-31 19:14:29 -06:00
Fabian 0c922cea95 Add config::LOG_PAGE_FAULTS 2020-12-31 19:14:29 -06:00
Fabian cd0b6ce753 Fix off-by-on in assertion in write_blob/read_blob 2020-12-31 19:14:29 -06:00
Fabian 0d76a7e99a Correctly set previous_ip before #nm (fixes segfaults in Linux) 2020-12-31 19:14:29 -06:00
Fabian 4e9fa5e783 refactor 2020-12-31 19:14:29 -06:00
Fabian c47b4b252c Optimise cr0 access in task_switch_test (only low byte needed) 2020-12-31 19:14:29 -06:00
Fabian d2c01c31a3 Fix memory dumps 2020-12-31 19:14:29 -06:00
Fabian 5e73b6f21b Remove invalid assertion on sfence/mfence/lfence (low bits of modrm byte are ignored) 2020-12-31 19:14:29 -06:00
Fabian 7f41e6fe48 Test for mov [mem], sreg 2020-12-31 19:14:29 -06:00
Fabian 1c474eabdb Fix mov [mem], sreg in 32-bit mode (should be 16-bit write) 2020-12-31 19:14:29 -06:00
Fabian 17f2488684 Fix uses of writable_or_pagefault from JS 2020-12-31 19:14:29 -06:00