u3: updates guard-page assertion to account for variable loom sizes

This commit is contained in:
Joe Bryan 2022-12-02 16:54:27 -05:00
parent 867f0621a7
commit 15c4ae7fa7

View File

@ -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