1. 13 11月, 2008 4 次提交
    • B
      Don't use "hz" in identifiers to make AIX happy. · b0f74c87
      balrog 提交于
      malc found AIX headers leak "hz" and so it can't be used there.  Change
      the occurences in hw/.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5709 c046a42c-6fe2-441c-8c8c-71466251a162
      b0f74c87
    • B
      Include <strings.h> for ffs(). · c8906845
      balrog 提交于
      ffs() is in <strings.h> although bsd compatible systems have it in
      <string.h> already.  ffs() is used in omap1.c, omap2.c, omap_i2c.c,
      bt-sdp.c.  These uses can be replaced with clz32() but ffs is more
      available.  Problem was spotted by malc.
      
      Make host-utils.h formatting more consistent.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5708 c046a42c-6fe2-441c-8c8c-71466251a162
      c8906845
    • B
      r5531 made x509 certs not loadable (original patch from Henrik Holst). · be351261
      balrog 提交于
      The patch in r5531 which replaced a bunch of strncpy with pstrcpy causes
      the x509 credentials from the -vnc parameter to be one character shorter
      than entered meaning that there is currently no way to enter x509
      certificates...
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5707 c046a42c-6fe2-441c-8c8c-71466251a162
      be351261
    • B
      Implement LSI53C895A quirks exposed by OpenServer (Justin Chevrier). · 9167a69a
      balrog 提交于
      After going through the debug log and scratching my head for quite some
      time. I found the following:
      
      The problem was with this block move:
      
      lsi_scsi: SCRIPTS dsp=0fae8e50 opcode 01000028 arg 00f63c40
      lsi_scsi: DMA addr=0x00f63c40 len=36
      
      The number of bytes to be transferred (len) should be 40 which corresponds
      to the block transfer of length 0x28 (from opcode 01000028). Instead we
      have a length of 36 (0x24). The code responsible for this is (in
      'lsi_do_dma'):
      
      if (count > s->current_dma_len)
         count = s->current_dma_len;
      
      Basically we're overwriting the length 40 with the value 36 which I
      think we just left over in that variable from an earlier transfer. In my
      patch below I initialize s->current_dma_len to s->dbc before we begin
      the DMA transfer during Data In phase.
      
      The attached patch gets Openserver 5.0.5 past the hardware detection
      (and it lists the hard drive to boot, woohoo). It appears to stop a
      little while later (doesn't seem SCSI related), but it's been so long since
      I've booted Openserver I'm not sure what's supposted to happen after the HW
      detection using the boot/root disks.
      
      Props go to Craig Ringer for the initial post and the code that he posted
      some of which is in this patch.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5706 c046a42c-6fe2-441c-8c8c-71466251a162
      9167a69a
  2. 12 11月, 2008 12 次提交
  3. 11 11月, 2008 24 次提交