Stefan Hajnoczi wrote:

if ( rc | shell_exit_flag ) {

The bitwise OR saves a few bytes compared to logical OR but looks odd.
 On my system I can get the same size using:

while ( ! shell_exit_flag && offset < image->len ) {


Yes, it's all about the code size. :) I appreciate your findings here for a more pleasant alternative, Stefan. I can certainly redo the staging branch for 'exit' and 'loopif' to use this. Thanks!

- Shao Miller
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to