wok diff linld/stuff/src/LOAD.CPP @ rev 19900

linld/tazboot: memcpy32 bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 08 18:04:44 2017 +0200 (2017-04-08)
parents 9e8f9b54bd83
children 485b1db348fd
line diff
     1.1 --- a/linld/stuff/src/LOAD.CPP	Sat Apr 08 12:48:12 2017 +0200
     1.2 +++ b/linld/stuff/src/LOAD.CPP	Sat Apr 08 18:04:44 2017 +0200
     1.3 @@ -118,10 +118,10 @@
     1.4  
     1.5  // register value to launch the kernel real mode code
     1.6  #ifdef NO386
     1.7 -static u32 csip;
     1.8 +u32 csip;
     1.9  extern "C" u16 topseg();
    1.10  #else
    1.11 -static u32 csip=0x90200000;
    1.12 +u32 csip=0x90200000;
    1.13  #define topseg() 0x9000
    1.14  #endif
    1.15  
    1.16 @@ -277,5 +277,5 @@
    1.17      }
    1.18  
    1.19      // Move rm loader & commandline to 0x90000, Jump to kernel rm code
    1.20 -    set_sregs_jump_seg_ofs(csip);
    1.21 +    set_sregs_jump_seg_ofs();
    1.22  }