grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] Split ufs.mod into ufs1.mod and ufs2.mod


From: Vladimir 'phcoder' Serbinenko
Subject: [PATCH 1/2] Split ufs.mod into ufs1.mod and ufs2.mod
Date: Thu, 13 Aug 2009 18:03:44 +0200

ufs1 and ufs2 mainly differ by some structure definitions. Putting
them into the same module and checking on runtime creates continuous
if ( ... == UFS1) { ... }
By using preprocessor it's possible to avoid most of such ifs
Additionally user needs only one FS in core so we save some space
core.img with ufs.mod: 23793
core.img with ufs1.mod: 23078
core.img with ufs2.mod: 23322

-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Attachment: ufssplit.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]