Displaying 5 results from an estimated 5 matches for "bios_disk_init".
2014 Feb 20
2
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...y at r-tt.com>
---
diff -uprN syslinux-6.02.orig/core/fs/diskio_bios.c syslinux-6.02/core/fs/diskio_bios.c
--- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13 21:59:03.000000000 +0400
+++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-20 12:15:08.000000000 +0400
@@ -337,7 +337,7 @@ struct disk *bios_disk_init(void *privat
/* Get EBIOS support */
ireg.eax.b[1] = 0x41;
ireg.ebx.w[0] = 0x55aa;
- ireg.eflags.b[0] = 0x3; /* CF set */
+ ireg.edx.b[0] = devno;
__intcall(0x13,&ireg,&oreg);
@@ -353,6 +353,7 @@ struct disk *bios_disk_init(void *privat
edd_params.len = sizeof...
2014 Feb 23
1
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
....com>
---
diff -uprN syslinux-6.02.orig/core/fs/diskio_bios.c
syslinux-6.02/core/fs/diskio_bios.c
--- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13
13:59:03.000000000 -0400
+++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-23 14:04:17.876084866
-0500
@@ -337,6 +337,7 @@ struct disk *bios_disk_init(void *privat
/* Get EBIOS support */
ireg.eax.b[1] = 0x41;
ireg.ebx.w[0] = 0x55aa;
+ ireg.edx.b[0] = devno;
ireg.eflags.b[0] = 0x3; /* CF set */
__intcall(0x13, &ireg, &oreg);
@@ -353,6 +354,7 @@ struct disk *bios_disk_init(void *privat
edd_par...
2014 Feb 22
0
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...-
> diff -uprN syslinux-6.02.orig/core/fs/diskio_bios.c syslinux-6.02/core/fs/diskio_bios.c
> --- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13 21:59:03.000000000 +0400
> +++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-20 12:15:08.000000000 +0400
> @@ -337,7 +337,7 @@ struct disk *bios_disk_init(void *privat
> /* Get EBIOS support */
> ireg.eax.b[1] = 0x41;
> ireg.ebx.w[0] = 0x55aa;
> - ireg.eflags.b[0] = 0x3; /* CF set */
I don't understand where the removal of that line matches
with 'DL register is not set' from the description of this patch.
> +...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...ree(dev->disk);
+out:
+ free(dev);
+ return NULL;
}
diff --git a/core/fs/diskio_bios.c b/core/fs/diskio_bios.c
index 9b935fe..27585f5 100644
--- a/core/fs/diskio_bios.c
+++ b/core/fs/diskio_bios.c
@@ -287,7 +287,7 @@ static int edd_rdwr_sectors(struct disk *disk, void *buf,
struct disk *bios_disk_init(void *private)
{
- static struct disk disk;
+ struct disk *disk;
struct bios_disk_private *priv = (struct bios_disk_private *)private;
com32sys_t *regs = priv->regs;
static __lowmem struct edd_disk_params edd_params;
@@ -302,6 +302,10 @@ struct disk *bios_disk_init(void *pr...
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