mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
vere: switches (mostly) to new event/effect routing
This commit is contained in:
parent
e2ba632a41
commit
6ff7f12c16
@ -237,11 +237,7 @@ u3_auto_next(u3_auto* car_u, u3_noun* ovo)
|
||||
|
||||
u3_auto_work(egg_u);
|
||||
|
||||
// XX cons [tar] route onto wire
|
||||
//
|
||||
// *ovo = u3nt(u3nc(u3k(egg_u->tar), u3k(egg_u->wir)),
|
||||
// u3k(egg_u->cad));
|
||||
*ovo = u3nc(u3nc(u3_blip, u3k(egg_u->wir)),
|
||||
*ovo = u3nc(u3nc(u3k(egg_u->tar), u3k(egg_u->wir)),
|
||||
u3k(egg_u->cad));
|
||||
|
||||
return egg_u;
|
||||
@ -289,7 +285,12 @@ u3_auto_kick(u3_auto* car_u, u3_noun act)
|
||||
while ( u3_nul != act ) {
|
||||
fec = u3h(act);
|
||||
u3x_cell(fec, &pax, &cad);
|
||||
u3_assent(u3r_p(pax, u3_blip, &wir));
|
||||
|
||||
// XX temporary backwards compatibility, remove
|
||||
//
|
||||
if ( c3n == u3r_p(pax, u3_blip, &wir) ) {
|
||||
wir = pax;
|
||||
}
|
||||
|
||||
while ( c3n == _auto_kick(car_u, u3k(wir), u3k(cad)) ) {
|
||||
if ( car_u->nex_u ) {
|
||||
|
@ -1090,7 +1090,7 @@ u3_unix_initial_into_card(c3_c* arv_c)
|
||||
{
|
||||
u3_noun can = _unix_initial_update_dir(arv_c, arv_c);
|
||||
|
||||
return u3nc(u3nt(u3_blip, c3__sync, u3_nul),
|
||||
return u3nc(u3nt(c3__c, c3__sync, u3_nul),
|
||||
u3nq(c3__into, u3_nul, c3y, can));
|
||||
}
|
||||
|
||||
|
@ -1465,7 +1465,7 @@ _pier_boot_make(u3_noun who, u3_noun ven, u3_noun pil)
|
||||
//
|
||||
c3_assert( c3y == u3a_is_cell(ven) );
|
||||
|
||||
u3_noun wir = u3nq(u3_blip, c3__term, '1', u3_nul);
|
||||
u3_noun wir = u3nq(c3__d, c3__term, '1', u3_nul);
|
||||
u3_noun cad = u3nt(c3__boot, u3_Host.ops_u.lit, ven); // transfer
|
||||
|
||||
bot_u.use = u3nc(u3nc(wir, cad), bot_u.use);
|
||||
|
Loading…
Reference in New Issue
Block a user