| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /************************************************************ |
|---|
| 2 | 3 | * EFI GUID Partition Table |
|---|
| 3 | 4 | * Per Intel EFI Specification v1.02 |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * By Matt Domsch <Matt_Domsch@dell.com> Fri Sep 22 22:15:56 CDT 2000 |
|---|
| 7 | 8 | * Copyright 2000,2001 Dell Inc. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 11 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 12 | | - * (at your option) any later version. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 15 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 17 | | - * GNU General Public License for more details. |
|---|
| 18 | | - * |
|---|
| 19 | | - * You should have received a copy of the GNU General Public License |
|---|
| 20 | | - * along with this program; if not, write to the Free Software |
|---|
| 21 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 22 | | - * |
|---|
| 23 | 9 | ************************************************************/ |
|---|
| 24 | 10 | |
|---|
| 25 | 11 | #ifndef FS_PART_EFI_H_INCLUDED |
|---|
| .. | .. |
|---|
| 102 | 88 | __le64 starting_lba; |
|---|
| 103 | 89 | __le64 ending_lba; |
|---|
| 104 | 90 | gpt_entry_attributes attributes; |
|---|
| 105 | | - efi_char16_t partition_name[72 / sizeof (efi_char16_t)]; |
|---|
| 91 | + __le16 partition_name[72/sizeof(__le16)]; |
|---|
| 106 | 92 | } __packed gpt_entry; |
|---|
| 107 | 93 | |
|---|
| 108 | 94 | typedef struct _gpt_mbr_record { |
|---|
| .. | .. |
|---|
| 126 | 112 | gpt_mbr_record partition_record[4]; |
|---|
| 127 | 113 | __le16 signature; |
|---|
| 128 | 114 | } __packed legacy_mbr; |
|---|
| 129 | | - |
|---|
| 130 | | -/* Functions */ |
|---|
| 131 | | -extern int efi_partition(struct parsed_partitions *state); |
|---|
| 132 | 115 | |
|---|
| 133 | 116 | #endif |
|---|