From 599eecbad494e4048578c87524101f671834876c Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 26 Oct 2001 12:00:00 -0400 Subject: [PATCH] Application of mopd-2.5.3-pmax.patch: * Fri Oct 26 2001 Maciej W. Rozycki - fix up the load address to KSEG0 for PMAX images (pmax) Downloaded from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-pmax.patch.gz .patch SHA256 = d84523d442912a68b4ea5d81a5f56f9d6352eb999f2b7aecaabdc717dcead782 Patch history copied from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-15.spec --- common/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/file.c b/common/file.c index b6d7e2f..fa6938f 100644 --- a/common/file.c +++ b/common/file.c @@ -276,7 +276,7 @@ GetMopFileInfo(fd, load, xfr, ftype, seg) isize = (header[isd+ISD_W_PAGCNT+1]*256 + header[isd+ISD_W_PAGCNT]) * 512; load_addr = (header[isd+ISD_V_VPN+1]*256 + - header[isd+ISD_V_VPN]) * 512; + header[isd+ISD_V_VPN]) * 512 | 0x80000000; xfr_addr = (header[iha+IHA_L_TFRADR1+3]*0x1000000 + header[iha+IHA_L_TFRADR1+2]*0x10000 + header[iha+IHA_L_TFRADR1+1]*0x100 +