mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
u3: initialize guard page in u3e_init()
This commit is contained in:
parent
1ea6e10a36
commit
a830db5f68
@ -84,4 +84,9 @@
|
||||
void
|
||||
u3e_foul(void);
|
||||
|
||||
/* u3e_init(): initialize page tracking.
|
||||
*/
|
||||
void
|
||||
u3e_init(void);
|
||||
|
||||
#endif /* ifndef U3_EVENTS_H */
|
||||
|
@ -1062,8 +1062,6 @@ u3e_live(c3_o nuu_o, c3_c* dir_c)
|
||||
}
|
||||
}
|
||||
|
||||
_ce_center_guard_page();
|
||||
|
||||
return nuu_o;
|
||||
}
|
||||
|
||||
@ -1088,3 +1086,9 @@ u3e_foul(void)
|
||||
{
|
||||
memset((void*)u3P.dit_w, 0xff, sizeof(u3P.dit_w));
|
||||
}
|
||||
|
||||
void
|
||||
u3e_init(void)
|
||||
{
|
||||
_ce_center_guard_page();
|
||||
}
|
||||
|
@ -1804,6 +1804,10 @@ u3m_boot(c3_c* dir_c)
|
||||
*/
|
||||
u3m_pave(nuu_o);
|
||||
|
||||
/* Place the guard page.
|
||||
*/
|
||||
u3e_init();
|
||||
|
||||
/* Initialize the jet system.
|
||||
*/
|
||||
{
|
||||
|
@ -7,6 +7,7 @@ _setup(void)
|
||||
{
|
||||
u3m_init();
|
||||
u3m_pave(c3y);
|
||||
u3e_init();
|
||||
}
|
||||
|
||||
static u3_noun
|
||||
|
Loading…
Reference in New Issue
Block a user