[syslinux] port syslinux isohybrid perl script to C

P J P pj.pandit at yahoo.co.in
Sat May 1 22:50:43 PDT 2010


   Hi,

--- On Sat, 1/5/10, H. Peter Anvin <hpa at zytor.com> wrote:
> Better yet would be to make hexdata a three-dimensional
> array and do: 
>     memcpyu(mbr, &hexdata[partok][hd0], MBRSIZE);

Please see -> http://pjp.dgplug.org/tools/syslinux-3.86-isohybrid.patch.6

Major changes:

  - get_hex_data(): removed.
  - hexdata changed into a 3-dimensional array, so as to index as
    hexdata[partok][hd0].
  - Makefile & bin2Carray changed to write a 3-dimensional array to
    hexdata.c
  - lendian_short() and lendian_int() changed to be more intuitive. 


Thanks.
---
Regards
    -P J P
PS: Please don't send me html/attachment/Fwd mails






More information about the Syslinux mailing list