mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-03-06 19:11:09 +00:00
Application of mopd-2.5.3-pmax.patch:
* Fri Oct 26 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - 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
This commit is contained in:
committed by
Boris Gjenero
parent
8920dbffcd
commit
599eecbad4
@@ -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 +
|
||||
|
||||
Reference in New Issue
Block a user