Skip to content

Commit 09508de

Browse files
committed
meta: Update to latest karm.
1 parent 09863f2 commit 09508de

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/impls/impl-efi/ui.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,9 @@ Res<Rc<Host>> makeHost(Child root) {
7171
return Ok(makeRc<EfiHost>(root, stip, front, back));
7272
}
7373

74+
Async::Task<> runAsync(Sys::Context& , Child root) {
75+
auto host = co_try$(makeHost(std::move(root)));
76+
co_return co_await host->runAsync();
77+
}
78+
7479
} // namespace Karm::Ui::_Embed

src/impls/impl-skift/ui/impl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ import Karm.Ui;
99

1010
namespace Karm::Ui::_Embed {
1111

12-
Res<Rc<Host>> makeHost(Child) {
13-
notImplemented();
14-
}
15-
1612
struct Host : public Ui::ProxyNode<Host> {
1713
Rpc::Endpoint& _endpoint;
1814
Rpc::Port _shell;

src/specs/handover/hook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ struct HandoverHook : public Sys::Service {
1111
: payload(payload) {}
1212
};
1313

14-
inline Handover::Payload& useHandover(Sys::Context& ctx = Sys::globalContext()) {
14+
inline Handover::Payload& useHandover(Sys::Context& ctx = Sys::rootContext()) {
1515
return *ctx.use<HandoverHook>().payload;
1616
}

0 commit comments

Comments
 (0)