Cleanup
parent
ad9261c0ac
commit
9a12b98960
@ -0,0 +1,13 @@
|
||||
diff --git a/repos/libports/ports/libc.port b/repos/libports/ports/libc.port
|
||||
index 927cf923a6..b276c57968 100644
|
||||
--- a/repos/libports/ports/libc.port
|
||||
+++ b/repos/libports/ports/libc.port
|
||||
@@ -4,7 +4,7 @@ DOWNLOADS = libc.archive
|
||||
|
||||
D = src/lib/libc
|
||||
|
||||
-URL(libc) = http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.0-RELEASE/src.txz
|
||||
+URL(libc) = http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/12.0-RELEASE/src.txz
|
||||
SHA(libc) = 0da393ac2174168a71c1c527d1453e07372295187d05c288250800cb152a889b
|
||||
DIR(libc) = $(D)
|
||||
|
@ -1,31 +1,32 @@
|
||||
diff --git a/repos/os/src/test/vmm_x86/component.cc b/repos/os/src/test/vmm_x86/component.cc
|
||||
index 1bfbd58db7..d56a561061 100644
|
||||
index 408c1088e2..1672f2a468 100644
|
||||
--- a/repos/os/src/test/vmm_x86/component.cc
|
||||
+++ b/repos/os/src/test/vmm_x86/component.cc
|
||||
@@ -492,8 +492,9 @@ class Vmm {
|
||||
|
||||
@@ -530,6 +530,8 @@ class Vmm::Main
|
||||
{
|
||||
private:
|
||||
|
||||
- Genode::Signal_handler<Vmm> _destruct_handler;
|
||||
- Genode::Reconstructible<Vm> _vm;
|
||||
+ Genode::Env &_env;
|
||||
+ Genode::Signal_handler<Vmm> _destruct_handler;
|
||||
+ Genode::Reconstructible<Vm> _vm;
|
||||
+ Genode::Env &_env;
|
||||
+
|
||||
Signal_handler<Main> _destruct_handler;
|
||||
Reconstructible<Vm> _vm;
|
||||
|
||||
void _destruct()
|
||||
{
|
||||
@@ -502,12 +503,14 @@ class Vmm {
|
||||
@@ -540,14 +542,16 @@ class Vmm::Main
|
||||
_vm.destruct();
|
||||
|
||||
Genode::log("vmm test finished");
|
||||
log("vmm test finished");
|
||||
+ _env.parent().exit(0);
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Vmm(Genode::Env &env)
|
||||
Main(Env &env)
|
||||
:
|
||||
- _destruct_handler(env.ep(), *this, &Main::_destruct),
|
||||
- _vm(env, _destruct_handler)
|
||||
+ _env(env),
|
||||
_destruct_handler(env.ep(), *this, &Vmm::_destruct),
|
||||
_vm(env, _destruct_handler)
|
||||
+ _destruct_handler(_env.ep(), *this, &Main::_destruct),
|
||||
+ _vm(_env, _destruct_handler)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue