[SeaBIOS] [PATCH] Add option to only execute CBFS option ROMs

Peter Stuge peter at stuge.se
Wed Feb 11 05:26:45 CET 2015

Timothy Pearson wrote:
>>>> Maybe a BDF blacklist, perhaps stored in CBFS?
>>> I might implement something like that in the future if I have
>>> time/inclination, but for now the on/off switch is sufficient.
>> Sufficient sure, but it is certainly using a sledgehammer to pound a nail.
>> Adding a blacklist instead is probably very quick. Pretty please? :)
>> (Ultimately Kevin will decide, but maybe he also likes a blacklist.)
> I can try.  I am nowhere near as familiar with SeaBIOS as I am with 
> coreboot so this might take longer than expected.

Fair enough! I think there will be a lot of reusable code in SeaBIOS

For accessing a CBFS file try: git grep romfile_loadfile

For parsing file into a string array see loadBootOrder() in src/boot.c.
(Not so pretty, basically open-coding strtok(), but gets the job done.)

>>> The proposed patch also allows the user to have a completely
>>> blob-free system if desired.
>> More general wins over fan(boy|girl) idealistic every time with me.
> There are reasons to want a blob-free system, including security.



More information about the SeaBIOS mailing list