Skip to content

Commit 2e39a16

Browse files
ref(arch-run): delete unused vpu_arch_run function
Signed-off-by: Miguel Silva <miguelafsilva5@gmail.com>
1 parent 6bf4c65 commit 2e39a16

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/arch/tricore/inc/arch/vm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,4 @@ void ir_config_irq(irqid_t int_id, bool en);
110110

111111
void ir_assign_int_to_vm(struct vm* vm, irqid_t id);
112112

113-
void vcpu_arch_run(struct vcpu* vcpu);
114-
115113
#endif /* __ARCH_VM_H__ */

src/arch/tricore/vm.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ void vcpu_writepc(struct vcpu* vcpu, unsigned long pc)
115115
vcpu->regs.lower_ctx.a11 = pc;
116116
}
117117

118-
void vcpu_arch_run(struct vcpu* vcpu)
119-
{
120-
/* Currently multicore VMs do not wait for one CPU to wake the others.
121-
As such, all VMs start executing once they reach this point. */
122-
123-
(void)vcpu;
124-
vcpu_arch_entry();
125-
}
126-
127118
bool vcpu_arch_is_on(struct vcpu* vcpu)
128119
{
129120
UNUSED_ARG(vcpu);

0 commit comments

Comments
 (0)