mirror of
https://github.com/ipxe/ipxe
synced 2026-01-22 20:19:08 +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"
|
#include "pxe_call.h"
|
||||||
|
|
||||||
/* Avoid dragging in isapnp.o unnecessarily */
|
/* 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 */
|
/** Zero-based versions of PXENV_GET_CACHED_INFO::PacketType */
|
||||||
enum pxe_cached_info_indices {
|
enum pxe_cached_info_indices {
|
||||||
|
|||||||
Reference in New Issue
Block a user