mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
u3: updates guard-page assertion to account for variable loom sizes
This commit is contained in:
parent
867f0621a7
commit
15c4ae7fa7
@ -590,7 +590,7 @@ _ce_patch_compose(void)
|
|||||||
sou_w = (swu_w + (pag_wiz_i - 1)) >> u3a_page;
|
sou_w = (swu_w + (pag_wiz_i - 1)) >> u3a_page;
|
||||||
|
|
||||||
c3_assert( ((gar_pag_p >> u3a_page) >= nor_w)
|
c3_assert( ((gar_pag_p >> u3a_page) >= nor_w)
|
||||||
&& ((gar_pag_p >> u3a_page) <= (u3a_pages - (sou_w + 1))) );
|
&& ((gar_pag_p >> u3a_page) <= (u3P.pag_w - (sou_w + 1))) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef U3_SNAPSHOT_VALIDATION
|
#ifdef U3_SNAPSHOT_VALIDATION
|
||||||
|
Loading…
Reference in New Issue
Block a user