Author: wmb Date: Mon Mar 25 23:55:11 2013 New Revision: 3626 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3626
Log: EXT2 filesystem - added sb-filetype? to test for yet another incompatible extension.
Modified: ofw/fs/ext2fs/sb.fth
Modified: ofw/fs/ext2fs/sb.fth ============================================================================== --- ofw/fs/ext2fs/sb.fth Mon Mar 25 23:53:09 2013 (r3625) +++ ofw/fs/ext2fs/sb.fth Mon Mar 25 23:55:11 2013 (r3626) @@ -54,6 +54,7 @@ : incompat-flags ( -- mask ) 24 +sbl ; : ro-flags ( -- mask ) 25 +sbl ;
+: sb-filetype? ( -- flag ) incompat-flags 2 and 0<> ; : sb-64bit? ( -- flag ) incompat-flags h# 80 and 0<> ; : sb-extents? ( -- flag ) incompat-flags h# 40 and 0<> ; : sb-gd-csum? ( -- flag ) ro-flags h# 10 and 0<> ;
openfirmware@openfirmware.info