diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-05-10 11:36:37 +0300 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-05-10 21:31:22 -0400 |
commit | 89acfa3fb404bd81eac23bd5a3fb92d4eec50648 (patch) | |
tree | 5a09538076d1c5f43858a455b49701497106494b /src/config.h | |
parent | 6d66316acc8f1629b65ccee86ee50b0dd9ff467e (diff) | |
download | seabios-hppa-89acfa3fb404bd81eac23bd5a3fb92d4eec50648.zip seabios-hppa-89acfa3fb404bd81eac23bd5a3fb92d4eec50648.tar.gz seabios-hppa-89acfa3fb404bd81eac23bd5a3fb92d4eec50648.tar.bz2 |
Support for booting from virtio disks
This patch adds native support for booting from virtio disks to Seabios.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index b101174..ad569c6 100644 --- a/src/config.h +++ b/src/config.h @@ -136,6 +136,9 @@ #define CONFIG_SUBMODEL_ID 0x00 #define CONFIG_BIOS_REVISION 0x01 +// Support boot from virtio storage +#define CONFIG_VIRTIO_BLK 1 + // Various memory addresses used by the code. #define BUILD_STACK_ADDR 0x7000 #define BUILD_S3RESUME_STACK_ADDR 0x1000 |