mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-05 12:26:37 +02: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:
parent
c33ff76d8d
commit
97f40c5fcc
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user