2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 03:09:12 +00:00
xNBA/src
Michael Brown e662912c53 [efi] Avoid accidentally calling main() twice
EFIRC() uses PLATFORM_TO_ERRNO(), which evaluates its argument twice
(and can't trivially use a braced-group expression or an inline
function to avoid this, since it gets used outside of function
context).

The expression "EFIRC(main())" will therefore end up calling main()
twice, which is not the intended behaviour.  Every other instance of
EFIRC() is of the simple form "EFIRC(rc)", so fix by converting this
instance to match.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-03-14 16:20:55 +00:00
..
arch [efi] Avoid accidentally calling main() twice 2014-03-14 16:20:55 +00:00
bin
config [romprefix] Allow ROM banner timeout to be configured independently 2014-03-03 13:09:25 +00:00
core [console] Fix display of characters with top bit set 2014-03-13 14:21:59 +00:00
crypto [uri] Refactor URI parsing and formatting 2014-02-27 13:32:53 +00:00
doc
drivers [realtek] Dump all MII register contents when link status changes 2014-03-10 12:22:23 +00:00
hci [console] Fix display of characters with top bit set 2014-03-13 14:21:59 +00:00
image [png] Add support for PNG images 2014-01-12 22:53:16 +01:00
include [netdevice] Notify upper-layer drivers when RX processing is (un)frozen 2014-03-14 14:05:38 +00:00
interface [efi] Connect driver to devices as part of installation 2014-03-12 15:34:44 +00:00
libgcc
net [netdevice] Notify upper-layer drivers when RX processing is (un)frozen 2014-03-14 14:05:38 +00:00
tests [uri] Refactor URI parsing and formatting 2014-02-27 13:32:53 +00:00
usr [lotest] Allow loopback testing on shared networks 2014-03-13 23:35:18 +00:00
util [build] Fix LABEL name for .liso images 2013-12-06 17:12:57 +00:00
.gitignore
doxygen.cfg
Makefile [build] Build ROMs used by qemu and VMware as part of "make all" 2013-12-26 23:36:34 +01:00
Makefile.housekeeping [build] Remove obsolete check for GNU as version 2.9.1 2013-12-21 13:13:46 +00:00