- 07 4月, 2020 5 次提交
-
-
由 Zihao Yu 提交于
* this helps to execute store instructions to mmio in compile mode
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
Fix x86 eflags See merge request projectn/nemu!50
-
由 Zihao Yu 提交于
* this can directly compute most of the CC, include CC_E and CC_NE * for CC_S and CC_NS, we should re-compute the difference again
-
由 Zihao Yu 提交于
-
- 06 4月, 2020 4 次提交
-
-
由 Zihao Yu 提交于
* need refactor
-
由 Zihao Yu 提交于
* this can eliminate masking the result of subtraction with 0xff or 0xffff
-
由 Zihao Yu 提交于
* Treating (dsrc1 + CF) as whole, which is introduced in 051786, is wrong. (dsrc1 + CF) may generate carry bit. Treating them as whole will miss such carry. * Also we should introduce a new rtl register s2 to compute the CF of adc/sbb.
-
由 Zihao Yu 提交于
-
- 05 4月, 2020 3 次提交
- 04 4月, 2020 6 次提交
-
-
由 Zihao Yu 提交于
Kvm See merge request projectn/nemu!49
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
* x86 will clear eflags.TF after executing an INT instruction. This will disable single step after transferring to the interrupt handler. * To solve this, we snoopy for an INT instruction after every single step. If we find it, we compute the entry point and set it as a watchpoint in the debug register. The watchpoint will intercept the execution of interrupt handler, and we can enable single step again. * Another solution may be to set the Monitor Trap Flag (MTF) in the Virtual Machine Control Structure (VMCS). But it seems that KVM does not provide an API to access the VMCS.
-
- 03 4月, 2020 1 次提交
-
-
由 Zihao Yu 提交于
* when an interrupt is taken, it also needs to access GDT
-
- 02 4月, 2020 6 次提交
- 31 3月, 2020 9 次提交
-
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
* now printf() can output correctly
-
由 Zihao Yu 提交于
* it seems that printf() can not output correctly, there is something wrong with CC computation for adc/sbb
-
由 Zihao Yu 提交于
* Now we treat (dsrc1 + CF) as whole and compute CF/OF based on it. Whether this is correct is still to be checked.
-
由 Zihao Yu 提交于
* if ddest == dsrc1, the computation of flags will be wrong
-
由 Zihao Yu 提交于
Rv64 tb See merge request projectn/nemu!47
-
由 Zihao Yu 提交于
-
由 Zihao Yu 提交于
-
- 29 3月, 2020 1 次提交
-
-
由 Zihao Yu 提交于
-
- 25 3月, 2020 5 次提交