Skip to content

Commit

Permalink
some fixes for MSFT
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
  • Loading branch information
SergeySlice committed Apr 30, 2022
1 parent 4ba4084 commit 777e694
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions BaseTools/Source/C/Include/Ia32/ProcessorBind.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ typedef INT32 INTN;
// Microsoft* compiler requires _EFIAPI usage, __cdecl is Microsoft* specific C.
//
#define EFIAPI __cdecl

#endif

#if __GNUC__
Expand Down
12 changes: 6 additions & 6 deletions Include/Guid/AppleApfsInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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_
6 changes: 3 additions & 3 deletions MdePkg/Include/IndustryStandard/Acpi10.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion cbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 777e694

Please sign in to comment.