[SeaBIOS] Entering protected mode (and back) in option ROM

2016-02-29 Thread Bob Moore
Hello, I have a need to access 32 bit address space from within a 16 bit option ROM I'm writing. As a test I added code to load the gdt as required to set up 32 bit protected mode but I've encountered a problem. Below are my code and gdt structures. My issue is that when the ljmp is

[SeaBIOS] [PATCH] fw/pci: add Q35 S3 support

2016-02-29 Thread Marcel Apfelbaum
Following the i440fx example, save the LPC, SMBUS and PCIEXBAR bdfs between OS sleeps and use them to re-configure the corresponding registers. Signed-off-by: Marcel Apfelbaum --- Hi, The patch was tested with Win7 and Fedora 23 guests. Any comments are welcomed. Thanks,

Re: [SeaBIOS] [PATCH] ahci: set transfer mode according to the capabilities of connected drive

2016-02-29 Thread Kevin O'Connor
On Sat, Feb 20, 2016 at 03:20:15PM +0100, Gerd Hoffmann wrote: > Use case: cf cards behind sata-ide bridge, which might not support > the default transfer mode. > > Based on a patch by Werner Zeh , > with some minor tweaks applied. > > Signed-off-by: Gerd Hoffmann

Re: [SeaBIOS] [PATCH 2/2] tpm: Write logs in TPM 2 format

2016-02-29 Thread Kevin O'Connor
On Fri, Feb 26, 2016 at 01:28:14PM -0500, Stefan Berger wrote: > On 02/23/2016 11:53 AM, Kevin O'Connor wrote: > >commit 102648838c0cf640c01b5f092e8f432d8f2abb8f > >Author: Kevin O'Connor > >Date: Fri Feb 5 22:28:17 2016 -0500 > > > > tpm: Write logs in TPM 2 format > >