aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/Lib/amdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/pi/Lib/amdlib.c')
-rw-r--r--src/vendorcode/amd/pi/Lib/amdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/amd/pi/Lib/amdlib.c b/src/vendorcode/amd/pi/Lib/amdlib.c
index 5e85f6b1f8..4c8a56dba8 100644
--- a/src/vendorcode/amd/pi/Lib/amdlib.c
+++ b/src/vendorcode/amd/pi/Lib/amdlib.c
@@ -1408,7 +1408,7 @@ IdsErrorStop (
while(1) {
offset %= sizeof(struct POST) / 2;
- WriteIo32(80, *((UINT32*)(&post+offset)));
+ WriteIo16(80, *((UINT16 *)&post)+offset);
++offset;
for (j=0; j<250; ++j) {
ReadIo8(80);