[SeaBIOS] From 16 bit to 32bit

Kevin O'Connor kevin at koconnor.net
Thu Apr 12 14:45:28 CEST 2012


On Thu, Apr 12, 2012 at 04:10:21PM +0900, Daniel Castro wrote:
> On Thu, Apr 12, 2012 at 9:34 AM, Kevin O'Connor <kevin at koconnor.net> wrote:
> > On Wed, Apr 11, 2012 at 09:09:44PM +0900, Daniel Castro wrote:
> >> Hello All,
> >>
> >> Since the hypercall on 16bit is not working, how can I transition the
> >> CPU to 32bit while doing the I/O stuff.
> >> And maybe get back to 16 Bit?
> >
> > See the call32() function.
> 
> Thanks for the answer Kevin, correct me if I am wrong, but I can only
> pass a single pointer argument to the function?

Yes - one parameter to the target function.

> Also in the pointer argument I get the return value, right?

No, the return code of the target function becomes the return code of
call32.

-Kevin



More information about the SeaBIOS mailing list