mirror of
https://github.com/ipxe/ipxe
synced 2026-01-22 12:08:58 +03:00
[pxe] Use a weak symbol for isapnp_read_port
Use a weak symbol for isapnp_read_port used in pxe_preboot.c, rather than relying on a common symbol. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -47,7 +47,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#include "pxe_call.h"
|
||||
|
||||
/* Avoid dragging in isapnp.o unnecessarily */
|
||||
uint16_t isapnp_read_port;
|
||||
uint16_t isapnp_read_port __attribute__ (( weak ));
|
||||
|
||||
/** Zero-based versions of PXENV_GET_CACHED_INFO::PacketType */
|
||||
enum pxe_cached_info_indices {
|
||||
|
||||
Reference in New Issue
Block a user