some fixes for MSFT

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2022-04-30 18:22:35 +03:00
parent 4ba408424c
commit 777e694713
5 changed files with 12 additions and 11 deletions

View File

@ -135,6 +135,7 @@ typedef INT32 INTN;
// Microsoft* compiler requires _EFIAPI usage, __cdecl is Microsoft* specific C.
//
#define EFIAPI __cdecl
#endif
#if __GNUC__

View File

@ -12,9 +12,9 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
**/
#ifndef APPLE_APFS_INFO_H_
**/
#ifndef APPLE_APFS_INFO_H_
#define APPLE_APFS_INFO_H_
#define APFS_GPT_PARTITION_UUID \
@ -214,6 +214,6 @@ typedef struct {
APPLE_APFS_VOLUME_ROLE Role;
} APPLE_APFS_VOLUME_INFO;
extern EFI_GUID gAppleApfsVolumeInfoGuid;
#endif // APPLE_APFS_H_
extern EFI_GUID gAppleApfsVolumeInfoGuid;
#endif // APPLE_APFS_H_

View File

@ -24,10 +24,10 @@ typedef struct {
/// The common ACPI description table header. This structure prefaces most ACPI tables.
///
typedef struct {
union {
// union {
UINT32 Signature;
CHAR8 SignatureAs4Char[4];
};
// CHAR8 SignatureAs4Char[4];
// };
UINT32 Length;
UINT8 Revision;
UINT8 Checksum;

@ -1 +1 @@
Subproject commit 9986fac808929b06af6db8888aab08cf34946871
Subproject commit 718db6190f93bacd4a4e19c96baed3cfd8070286

View File

@ -18,7 +18,7 @@ set EDK_BUILDINFOS=
set EDK2SHELL=
set BUILD_IA32=
set BUILD_X64=
set EDK2_BUILD_OPTIONS=-D NO_GRUB_DRIVERS -D MDEPKG_NDEBUG
set EDK2_BUILD_OPTIONS=-D NO_GRUB_DRIVERS -D MDEPKG_NDEBUG -D MSFT
set VBIOSPATCHCLOVEREFI=0
set ONLY_SATA_0=0
set USE_BIOS_BLOCKIO=0