Skip to content

Commit

Permalink
NOVA: Vancouver - establish recall portal
Browse files Browse the repository at this point in the history
Fixes #283
  • Loading branch information
alex-ab authored and nfeske committed Jul 19, 2012
1 parent 938c7fa commit 33a2f54
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ports/src/vancouver/main.cc
Expand Up @@ -413,6 +413,11 @@ class Vcpu_dispatcher : Genode::Thread_base,
_svm_invalid();
}

void _recall()
{
_handle_vcpu(NO_SKIP, CpuMessage::TYPE_CHECK_IRQ);
}

/**
* Portal entry point entered on virtualization events
*
Expand Down Expand Up @@ -492,6 +497,7 @@ class Vcpu_dispatcher : Genode::Thread_base,
/* shortcuts for common message-transfer descriptors */
Mtd const mtd_all(Mtd::ALL);
Mtd const mtd_cpuid(Mtd::EIP | Mtd::ACDB | Mtd::IRQ);
Mtd const mtd_irq(Mtd::IRQ);
/*
* Register VCPU SVM event handlers
*/
Expand All @@ -504,6 +510,7 @@ class Vcpu_dispatcher : Genode::Thread_base,
_register_handler<0xfc, &This::_svm_npt> (mtd_all);
_register_handler<0xfd, &This::_svm_invalid> (mtd_all);
_register_handler<0xfe, &This::_svm_startup> (mtd_all);
_register_handler<0xff, &This::_recall> (mtd_irq);

} else {

Expand Down

0 comments on commit 33a2f54

Please sign in to comment.