• Show log

    Commit

  • Hash : 499e8134
    Author : Laurent Vivier
    Date : 2015-11-06T15:06:25

    toke: fix line parsing on big-endian Trying to compile openbios on Fedora 22 ppc64, I had the following error: toke -o QEMU,VGA.bin ~/openbios/drivers/vga.fs ... Tokenizing ~/openbios/drivers/vga.fs Binary output to QEMU,VGA.bin Warning: File ~/openbios/drivers/vga.fs, Line 1. Unterminated comment Nothing Tokenized. 1 Warning. This can be reproduced with the fcode-utils examples. "toke" is parsing the comment line until it finds a '\n'. The '\n' is stored as a char in a field of an union, but it is read as a long. It works well on little endian but not on big endian. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/fcode-utils-devel@1354 f158a5a8-5612-0410-a976-696ce0be7e32

  • README

  • This is the OpenBIOS FCODE suite.
    
    It consists of:
    
    - toke
    - detok
    - romheaders
    - localvalues
    
    NOTE: all parts of the OpenBIOS FCODE suite are GPL v2, except the localvalues
    implementation and parts of the documentation which are released under the 
    Common Public License (CPL) version 1.0 
    (see: http://www.opensource.org/licenses/cpl1.0.php)
    
    
    For information please contact info@coresystems.de