Displaying 7 results from an estimated 7 matches for "bios_disk_priv".
2015 Jul 13
2
boot... round 2
...; <syslinux at zytor.com> wrote:
>>> Still not working with gcc5.2 rc
>>
>> core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the
>> first protected-mode code.
>>
>> void pm_fs_init(com32sys_t *regs)
>> {
>> static struct bios_disk_private priv;
>>
>> writechr('^');
>> priv.regs = regs;
>> fs_init((const struct fs_ops **)regs->eax.l, (void *)&priv);
>> }
>>
>>
>> With the above, I see the caret.
>>
>> The call to this function in ISOLINUX is in...
2015 Jul 03
7
boot... round 2
On Fri, Jul 3, 2015 at 12:50 AM, poma via Syslinux <syslinux at zytor.com> wrote:
> - "unsigned char c;" does not solve the problem
>
> - "c >= 0 && c <= ' '" solves the problem for the current git
Could you try the following patch? Feel free to only apply the change
to readconfig.c if you want.
--
-Gene
diff --git
2015 Jul 13
0
boot... round 2
...liam Kennington via Syslinux
> <syslinux at zytor.com> wrote:
>> Still not working with gcc5.2 rc
>
> core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the
> first protected-mode code.
>
> void pm_fs_init(com32sys_t *regs)
> {
> static struct bios_disk_private priv;
>
> writechr('^');
> priv.regs = regs;
> fs_init((const struct fs_ops **)regs->eax.l, (void *)&priv);
> }
>
>
> With the above, I see the caret.
>
> The call to this function in ISOLINUX is in core/isolinux.asm:1163
>
> .common...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...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 *private)
int sector_size;
unsigned int hard_max_transfer;
+ disk = malloc(sizeof(struct...
2015 Jul 09
1
boot... round 2
Still not working with gcc5.2 rc
On Thu, Jul 9, 2015, 11:08 William Kennington <william at wkennington.com>
wrote:
> Trying 5.2-rc now, will report back after the test case is run.
>
> On Thu, Jul 9, 2015, 07:23 Adam Williamson <awilliam at redhat.com> wrote:
>
>> On Thu, 2015-07-09 at 06:56 +0000, William Kennington wrote:
>> > Does fedora have gcc5
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...number (range: 0 - (DISKS_MAX - 1)).
+ * @part_start: Start LBA.
+ * @bsHeads: Number of heads.
+ * @bsSecPerTrack: Sectors per track.
+ */
+static void *get_private(uint8_t devno, uint64_t part_start,
+ uint16_t bsHeads, uint16_t bsSecPerTrack)
+{
+ static com32sys_t regs;
+ static struct bios_disk_private priv;
+
+ priv.regs = ®s;
+
+ regs.edx.b[0] = devno;
+ regs.edx.b[1] = 0; // TODO: cdrom ... always 0???
+ regs.ecx.l = part_start & 0xFFFFFFFF;
+ regs.ebx.l = part_start >> 32;
+ regs.esi.w[0] = bsHeads;
+ regs.edi.w[0] = bsSecPerTrack;
+ regs.ebp.l = MA...
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