mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 03:45:29 +00:00
io: remove pio emulation restriction
Currently, the serial log is printed through IO(0x3f8). Secure World will print serial log by port 0x3f8. So remove the ASSERT for Secure World booting. Signed-off-by: Qi Yadong <yadong.qi@intel.com>
This commit is contained in:
parent
4af2f04bd2
commit
abcd765f2d
@ -45,8 +45,6 @@ int dm_emulate_pio_post(struct vcpu *vcpu)
|
||||
0xFFFFFFFFul >> (32 - 8 * vcpu->req.reqs.pio_request.size);
|
||||
uint64_t *rax;
|
||||
|
||||
ASSERT(cur_context == 0, "pio emulation only happen in normal wrold");
|
||||
|
||||
rax = &vcpu->arch_vcpu.contexts[cur_context].guest_cpu_regs.regs.rax;
|
||||
vcpu->req.reqs.pio_request.value =
|
||||
req_buf->req_queue[cur].reqs.pio_request.value;
|
||||
@ -92,9 +90,6 @@ int io_instr_handler(struct vcpu *vcpu)
|
||||
struct run_context *cur_context;
|
||||
int status = -EINVAL;
|
||||
|
||||
ASSERT(cur_context_idx == 0,
|
||||
"pio emulation only happen in normal wrold");
|
||||
|
||||
cur_context = &vcpu->arch_vcpu.contexts[cur_context_idx];
|
||||
exit_qual = vcpu->arch_vcpu.exit_qualification;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user