[SeaBIOS] Help using a macro in 16bit code

2012-03-06 Thread Daniel Castro
Hello All, I am working in the PV-Drivers for xen. I am trying to use a macro that will return a pointer inside a structure defined by a macro, using a macro. For example I create the front ring that will contain the disk read requests with a macro like this: struct blkif_ring * shared = memalign

Re: [SeaBIOS] usb ohci pipe free fix

2012-03-06 Thread Peter Stuge
Kevin O'Connor wrote: > No status is put anywhere to indicate why the > controller stops updating the frame counter. Your suggestions for what to try are excellent. At this point it might be a good idea to look at CS5536 errata, if there is anything concerning the OHCI. //Peter ___

Re: [SeaBIOS] usb ohci pipe free fix

2012-03-06 Thread Kevin O'Connor
On Tue, Mar 06, 2012 at 09:51:09PM +0100, Nils wrote: > Op maandag 05-03-2012 om 15:41 uur [tijdzone -0500], schreef Kevin > O'Connor: > > Nothing in the TD. Can you try the patch below (again, on top of the > > free pipe fix at the beginning of this thread). This patch will also > > dump the ED.

Re: [SeaBIOS] [PATCH] x86emu: Correctly handle 0x66 prefix for some instructions

2012-03-06 Thread Julian Pidancet
On 03/05/12 15:51, Peter Stuge wrote: > Julian Pidancet wrote: >> Sorry for the noise. None of these emails got through to the >> xorg-devel mailing list. Will retry later. > > I would appreciate if you looked at the coreboot x86emu as well. > > http://review.coreboot.org/gitweb?p=coreboot.git;a=

[SeaBIOS] [PATCH 0/2] Implement VBE function 15h

2012-03-06 Thread Julian Pidancet
Implements VBE function 15h defined in the VBE/DDC standard. Contains a preliminary implementation for bochsvga which returns a hardcoded EDID with some generic informations. It seems Xorg refuses to use resolutions higher than 1024x768 if the ROM doesn't return an EDID with timing informations to

[SeaBIOS] [PATCH 1/2] vgasrc: Add skeleton for VBE function 15h (VBE/DDC Standard)

2012-03-06 Thread Julian Pidancet
Signed-off-by: Julian Pidancet --- src/vbe.h |5 + vgasrc/stdvga.c | 11 +++ vgasrc/stdvga.h |2 ++ vgasrc/vbe.c| 34 ++ vgasrc/vgahw.h |8 5 files changed, 60 insertions(+), 0 deletions(-) diff --git a/src/vbe.h b/

[SeaBIOS] [PATCH 2/2] bochsvga: Implement vbe 15h function

2012-03-06 Thread Julian Pidancet
This patch adds the ability for the Bochs VGA ROM to return information about a generic SVGA monitor. It uses a hardcoded EDID for now, but we can easily immagine contructing an EDID at run time with the help of some support code. Returning an EDID with decent timings may be necessary in case we

Re: [SeaBIOS] usb ohci pipe free fix

2012-03-06 Thread Nils
Op dinsdag 06-03-2012 om 21:51 uur [tijdzone +0100], schreef Nils: > Op maandag 05-03-2012 om 15:41 uur [tijdzone -0500], schreef Kevin > O'Connor: > > Nothing in the TD. Can you try the patch below (again, on top of the > > free pipe fix at the beginning of this thread). This patch will also > >

Re: [SeaBIOS] Next stable release

2012-03-06 Thread Kevin O'Connor
On Tue, Mar 06, 2012 at 01:48:17PM +0100, Paolo Bonzini wrote: > Il 06/03/2012 00:50, Kevin O'Connor ha scritto: > > I plan to backport the 5 fixes below to the stable branch and tag it > > as v1.6.3.2. Let me know if there are any concerns or additional > > changes needed. > > The MODE SENSE cha

Re: [SeaBIOS] Next stable release

2012-03-06 Thread Paolo Bonzini
Il 06/03/2012 00:50, Kevin O'Connor ha scritto: > I plan to backport the 5 fixes below to the stable branch and tag it > as v1.6.3.2. Let me know if there are any concerns or additional > changes needed. The MODE SENSE change would be a good candidate. Paolo ___

Re: [SeaBIOS] [PATCH v3] add virtio-scsi driver

2012-03-06 Thread Kevin O'Connor
On Mon, Feb 27, 2012 at 05:22:23PM +0100, Paolo Bonzini wrote: > virtio-scsi is a simple HBA that talks to the host via a single > vring. The implementation looks like a hybrid of usb-msc and > virtio-blk. Thanks - I commited this change. (I fixed an include in the process.) -Kevin ___

Re: [SeaBIOS] [PATCH] scsi: do not send MODE SENSE except to QEMU disks

2012-03-06 Thread Kevin O'Connor
On Mon, Mar 05, 2012 at 12:29:12PM +0100, Paolo Bonzini wrote: > This is the simplest way to avoid breaking boot on USB sticks that > stall when asked for the MODE SENSE page 4. Some old sticks do > not support the MODE SENSE command at all and just return a > "medium may have changed" unit attent