mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-28 11:23:09 +03:00
disk: Set MAX_VOLUMES to 256 for UEFI ports
This commit is contained in:
parent
37eb16f431
commit
51fc81b117
@ -19,10 +19,10 @@
|
|||||||
#define DEFAULT_FASTEST_XFER_SIZE 64
|
#define DEFAULT_FASTEST_XFER_SIZE 64
|
||||||
#define MAX_FASTEST_XFER_SIZE 512
|
#define MAX_FASTEST_XFER_SIZE 512
|
||||||
|
|
||||||
#define MAX_VOLUMES 64
|
|
||||||
|
|
||||||
#if defined (BIOS)
|
#if defined (BIOS)
|
||||||
|
|
||||||
|
#define MAX_VOLUMES 64
|
||||||
|
|
||||||
struct bios_drive_params {
|
struct bios_drive_params {
|
||||||
uint16_t buf_size;
|
uint16_t buf_size;
|
||||||
uint16_t info_flags;
|
uint16_t info_flags;
|
||||||
@ -307,6 +307,8 @@ void disk_create_index(void) {
|
|||||||
|
|
||||||
#if defined (UEFI)
|
#if defined (UEFI)
|
||||||
|
|
||||||
|
#define MAX_VOLUMES 256
|
||||||
|
|
||||||
int disk_read_sectors(struct volume *volume, void *buf, uint64_t block, size_t count) {
|
int disk_read_sectors(struct volume *volume, void *buf, uint64_t block, size_t count) {
|
||||||
EFI_STATUS status;
|
EFI_STATUS status;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user