2 |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
3 |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
4 |
* Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
* Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
5 |
|
* Copyright (C) 2003 Marco Gerards <metgerards@student.han.nl> |
6 |
* |
* |
7 |
* PUPA is free software; you can redistribute it and/or modify |
* PUPA is free software; you can redistribute it and/or modify |
8 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
160 |
/* Clear out the DRP. */ |
/* Clear out the DRP. */ |
161 |
pupa_memset (drp, 0, sizeof (*drp)); |
pupa_memset (drp, 0, sizeof (*drp)); |
162 |
drp->size = sizeof (*drp); |
drp->size = sizeof (*drp); |
163 |
if (pupa_biosdisk_get_diskinfo_int13_extensions (drive, drp)) |
if (!pupa_biosdisk_get_diskinfo_int13_extensions (drive, drp)) |
164 |
{ |
{ |
165 |
data->flags = PUPA_BIOSDISK_FLAG_LBA; |
data->flags = PUPA_BIOSDISK_FLAG_LBA; |
166 |
|
|