1. 24 1月, 2011 1 次提交
  2. 12 12月, 2010 1 次提交
  3. 16 11月, 2010 1 次提交
  4. 04 9月, 2010 1 次提交
  5. 11 6月, 2010 1 次提交
    • I
      multiboot: compilation fix with DEBUG_MULTIBOOT enabled. · bd418d90
      Isaku Yamahata 提交于
      This patch fixes the following compilation errors in multiboot.c
      when DEBUG_MULTIBOOT is defined.
      Use TARGET_FMT_plx instead of %x for target_phys_addr_t.
      
        CC    i386-softmmu/multiboot.o
      cc1: warnings being treated as errors
      qemu/hw/multiboot.c: In function 'mb_add_mod':
      qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 4 has type 'target_phys_addr_t'
      qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t'
      qemu/hw/multiboot.c: In function 'load_multiboot':
      qemu/hw/multiboot.c:279: error: format '%#x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t'
      qemu/hw/multiboot.c:307: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t'
      qemu/hw/multiboot.c:308: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t'
      make[1]: *** [multiboot.o] Error 1
      Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      bd418d90
  6. 16 3月, 2010 1 次提交
    • A
      load_elf: replace the address addend by a translation function · 409dbce5
      Aurelien Jarno 提交于
      A few machines need to translate the ELF header addresses into physical
      addresses. Currently the only possibility is to add a value to the
      addresses.
      
      This patch replaces the addend argument by and a translation function
      and an opaque passed to the function. A NULL function does not translate
      the address.
      
      The patch also convert all machines that have an addend, simplify the
      PowerPC kernel loading and fix the MIPS kernel loading using this new
      feature. Other machines may benefit from this feature.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      409dbce5
  7. 08 1月, 2010 1 次提交