diff options
| author | Your Name <[email protected]> | 2023-07-24 06:27:23 +0000 |
|---|---|---|
| committer | Your Name <[email protected]> | 2023-07-24 06:27:23 +0000 |
| commit | a6079fb9abba265ada7303618a5301c5f072b6ac (patch) | |
| tree | 74ed919f477918c3469db4133d727d718962f8e4 /target | |
| parent | e6400e4dc449a8948f366bf605fef1fa6053fe12 (diff) | |
Diffstat (limited to 'target')
| -rw-r--r-- | target/i386/tcg/misc_helper.c | 3 | ||||
| -rw-r--r-- | target/i386/tcg/seg_helper.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/i386/tcg/misc_helper.c b/target/i386/tcg/misc_helper.c index 468ab9438c..d159a83574 100644 --- a/target/i386/tcg/misc_helper.c +++ b/target/i386/tcg/misc_helper.c @@ -97,8 +97,11 @@ void helper_senduipi(CPUX86State *env ,int reg_index){ // read tempUITTE from 16 bytes at UITTADDR+ (reg « 4); uint64_t uitt_phyaddress = get_hphys2(cs, (env->uintr_tt>>3)<<3 , MMU_DATA_LOAD, NULL); + // qemu_log("qemu: uitt_phyaddress %lx \n", uitt_phyaddress); struct uintr_uitt_entry uitte; cpu_physical_memory_rw(uitt_phyaddress + (uitte_index<<4), &uitte, 16,false); + // qemu_log("qemu: data of uitt valid:%d user_vec:%d \n",uitte.valid, uitte.user_vec); + // qemu_log("qemu: UPID address 0x%016lx\n", uitte.target_upid_addr); // read tempUPID from 16 bytes at tempUITTE.UPIDADDR;// under lock qemu_mutex_lock_iothread(); diff --git a/target/i386/tcg/seg_helper.c b/target/i386/tcg/seg_helper.c index dc360b2582..c47c858dbe 100644 --- a/target/i386/tcg/seg_helper.c +++ b/target/i386/tcg/seg_helper.c @@ -969,6 +969,8 @@ static void do_interrupt64(CPUX86State *env, int intno, int is_int, old_eip = env->eip; } bool send = false; + if(intno == 0xe9 ) + qemu_log("intno %d\n",intno); if(intno == UINTR_UINV ){ qemu_log("receive, cur core:%d\n",get_apic_id(cpu_get_current_apic())); recognized = true; |
