aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2023-04-25 12:12:07 +0000
committerToomas Soome <tsoome@FreeBSD.org>2023-04-26 13:33:28 +0000
commit795497bf3d2cdaf94c0054e1093567b65b569802 (patch)
tree702af16268c4fbb176c7710b3ca99eed620dce54
parent20b6945c7f542a76b8c8f9f962403303ccee4227 (diff)
downloadsrc-795497bf3d2cdaf94c0054e1093567b65b569802.tar.gz
src-795497bf3d2cdaf94c0054e1093567b65b569802.zip
pxeboot: bugs in pxe.h
SEGDESC_t needs to be PACKED there is no status in t_PXENV_UNDI_MCAST_ADDRESS Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D39799
-rw-r--r--stand/i386/libi386/pxe.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stand/i386/libi386/pxe.h b/stand/i386/libi386/pxe.h
index a51d72dae650..327fd9f8a48e 100644
--- a/stand/i386/libi386/pxe.h
+++ b/stand/i386/libi386/pxe.h
@@ -62,7 +62,7 @@ typedef struct {
uint16_t Seg_Addr;
uint32_t Phy_Addr;
uint16_t Seg_Size;
-} SEGDESC_t;
+} PACKED SEGDESC_t;
typedef uint16_t SEGSEL_t;
typedef uint16_t PXENV_STATUS_t;
@@ -151,7 +151,6 @@ typedef struct {
#define MAXNUM_MCADDR 8
typedef struct {
- PXENV_STATUS_t Status;
uint16_t MCastAddrCount;
MAC_ADDR McastAddr[MAXNUM_MCADDR];
} PACKED t_PXENV_UNDI_MCAST_ADDRESS;