git: 795497bf3d2c - main - pxeboot: bugs in pxe.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Apr 2023 13:33:55 UTC
The branch main has been updated by tsoome:
URL: https://cgit.FreeBSD.org/src/commit/?id=795497bf3d2cdaf94c0054e1093567b65b569802
commit 795497bf3d2cdaf94c0054e1093567b65b569802
Author: Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2023-04-25 12:12:07 +0000
Commit: Toomas Soome <tsoome@FreeBSD.org>
CommitDate: 2023-04-26 13:33:28 +0000
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
---
stand/i386/libi386/pxe.h | 3 +--
1 file changed, 1 insertion(+), 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;