[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

Re: [SeaBIOS] INT 1A - PCI Services supported?

2016-02-17 Thread Bob Moore
Sorry for the bother people. I now see that PCI Services is supported (and configured in my source tree). I am now executing code in the 16 bit handler. Thanks. Bob From: Bob Moore Sent: Tuesday, February 16, 2016 4:50 PM To: 'seabios@seabios.org' Subject: INT 1A - PCI Services supported

[SeaBIOS] INT 1A - PCI Services supported?

2016-02-16 Thread Bob Moore
Hello again, I have a need in my option ROM to interrogate devices identified by the BIOS PCI bus enumeration process. It seems like the most straight forward way to do this would be to use INT 1A assuming seaBios supports PCI 2.0 or later, to search for all instances of devices which I'm

[SeaBIOS] Qemu/Seabios and loading option roms

2016-01-23 Thread Bob Moore
Hi, I'm new to qemu/seabios and am in the process of developing an option rom for a pcie device. I want to use seabios as a driver for debugging this code. I see documentation that says I can put my option rom into a file with name of the form pci,.rom to contain my compiled/linked