diff options
author | Julian Stecklina <jsteckli@amazon.de> | 2017-02-13 10:03:59 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-02-20 10:47:53 -0500 |
commit | c83e15b60b7c59552a44d71d0582f2d62a6084a7 (patch) | |
tree | 12f4ee66638a26715e532f6ac5ef04f6e7483f79 /src/block.h | |
parent | dbf9dd27f3aefc171839d60c188134da8ad3089d (diff) | |
download | seabios-c83e15b60b7c59552a44d71d0582f2d62a6084a7.tar.gz |
block: add NVMe boot support
This patch enables SeaBIOS to boot from NVMe. Finding namespaces and
basic I/O works. Testing has been done in qemu and so far it works with
Grub, syslinux, and the FreeBSD loader. You need a recent Qemu (>=
2.7.0), because older versions have buggy NVMe support.
The NVMe code is currently only enabled on Qemu due to lack of testing
on real hardware.
Signed-off-by: Julian Stecklina <jsteckli@amazon.de>
Diffstat (limited to 'src/block.h')
-rw-r--r-- | src/block.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block.h b/src/block.h index 0f15ff93..f03ec389 100644 --- a/src/block.h +++ b/src/block.h @@ -82,6 +82,7 @@ struct drive_s { #define DTYPE_PVSCSI 0x83 #define DTYPE_MPT_SCSI 0x84 #define DTYPE_SDCARD 0x90 +#define DTYPE_NVME 0x91 #define MAXDESCSIZE 80 |