search for: disks_max

Displaying 4 results from an estimated 4 matches for "disks_max".

2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...emple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#include <syslinux/multifs_utils.h> +#include "core.h" +#include "disk.h" +#include "cache.h" +#include "minmax.h" + +/* 0x80 - 0xFF + * BIOS limitation */ +#define DISK_ID_OFFSET 0x80 +#define DISKS_MAX 128 + +/* MaxTransfer for MultiFS access */ +#define MAX_TRANSFER 127 + +static struct queue_head *parts_info[DISKS_MAX]; + +/* + * Store info about the FS into a specific queue to be used later. + * + * @ret: 0 on success, -1 on failure. + */ +static int add_fs(struct fs_info *fs, uint8_t disk, ui...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...--------------------- */ + +/** + * @file disk.c + * + * Deal with disks and partitions + */ + +#include <core.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include <efi.h> +#include <efilib.h> + +#include <syslinux/disk.h> + +#define DISKS_MAX 0x80 + +static EFI_HANDLE disk_dev_handles[DISKS_MAX] = { NULL, }; + +/* Find all device handles that support EFI_BLOCK_IO_PROTOCOL */ +static EFI_STATUS find_all_block_devs(EFI_HANDLE **bdevs, + unsigned long *bdevsno) +{ + EFI_STATUS status; + unsigned l...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address