Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 16:33:45 +0900
From:      Takuya ASADA <syuu@dokukino.com>
To:        soc-status@freebsd.org, Peter Grehan <grehan@freebsd.org>
Subject:   [status report #7] BHyVe BIOS emulation to boot legacy systems
Message-ID:  <CALG4x-XpGM=MtMD-OCG9s70JiEgi-ftz6n8yXZL=NauP1gFLbA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
* project summary
The project goal is to support BIOS emulation on BHyVe, enabling boot
from disk image.
I going to focus booting FreeBSD/amd64 from disk image on this GSoC,
but final goal is to make BHyVe able to support more guest OSes.

* Testing implementation of BIOS call emulation
Implemented following BIOS call:
- int=10h Screen
  - ah=0eh Write Character in TTY Mode

- int=13h Disk
 - ah=00h Reset Disk Drives
 - ah=02h Read Sectors
 - ah=08h Get Drive Parameters
 - ah=41h Extended Disk Drive (EDD) Installation Check
 - ah=42h Extended Read Sectors

- int 16h Keyboard
 - ah=00h Read Character
 - ah=01h Read Input Status

It's just testing implementation, not totally compatible.
For now, 10h and 16h looks like working, but 13h has compatibility
issue(FreeBSD MBR couldn't boot because of the issue).

Find test code of BIOS call from somewhere or implement it by myself,
and porting doscmd BIOS call implementation to improve compatibility
would be the next work.

svn diff -r238305:239263
https://socsvn.freebsd.org/socsvn/soc2012/syuu/bhyve-bios



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALG4x-XpGM=MtMD-OCG9s70JiEgi-ftz6n8yXZL=NauP1gFLbA>