From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by mx.groups.io with SMTP id smtpd.web12.13817.1628451632741680322 for ; Sun, 08 Aug 2021 12:40:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@posteo.de header.s=2017 header.b=ZH0+ZfF9; spf=pass (domain: posteo.de, ip: 185.67.36.66, mailfrom: mhaeuser@posteo.de) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2BB3E240104 for ; Sun, 8 Aug 2021 21:40:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1628451631; bh=uejjpiUBjE/BaO+VRx8ZyEy7YIAHdcp99O5ny1bbS50=; h=From:To:Cc:Subject:Date:From; b=ZH0+ZfF9XfwgVlef2AjaHu6VBoBMgm5l8rSiks4tj/FLbMAYkuNDcFM6Pa24cRGbT PjZiyyalSTRJkOmAJ6LffYdXC0Ui30DpwL62m0jS15L5hilohDIVgwNMkQpaDIflAj MTYJUZS+iT7kh08uscKfrgGDOIEoJMVlB+E6w0AO3CjwadcKbYQhxphshMDI/IZLRI 3Rw/3JrThWuMLFgBDjdIHO/9Z+xSaq9AQ8VfYQ/471s05/TupIe31ydb9RGRXut+2s Rcgfz7qZHZg3NBUzi6E8/hnGv4roXdUVAiyvwVxna4pYE2JUfypZkwFilEfXiioMoT eOud7r59wdxzA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GjV1V5Sygz6tmP; Sun, 8 Aug 2021 21:40:30 +0200 (CEST) From: =?UTF-8?B?TWFydmluIEjDpHVzZXI=?= To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni , Vitaly Cheptsov Subject: [PATCH] EmulatorPkg/Host/Unix: Remove unused declarations Date: Sun, 8 Aug 2021 19:39:38 +0000 Message-Id: <4950821c9f6bef9f552c66f50e697c5ac89f7e7d.1628366128.git.mhaeuser@posteo.de> In-Reply-To: <5df11a13422732b9c03c120775a2b4dd0a49182f.1628444003.git.mhaeuser@posteo.de> References: <5df11a13422732b9c03c120775a2b4dd0a49182f.1628444003.git.mhaeuser@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Remove declarations of functions that are not implemented at all, or are implemented elsewhere. Cc: Andrew Fish Cc: Ray Ni Cc: Vitaly Cheptsov Signed-off-by: Marvin H=C3=A4user --- EmulatorPkg/Unix/Host/Host.h | 87 -------------------- 1 file changed, 87 deletions(-) diff --git a/EmulatorPkg/Unix/Host/Host.h b/EmulatorPkg/Unix/Host/Host.h index 9791cf8c370e..b2e5eafb6323 100644 --- a/EmulatorPkg/Unix/Host/Host.h +++ b/EmulatorPkg/Unix/Host/Host.h @@ -145,15 +145,6 @@ typedef struct { } IMAGE_CONTEXT_TO_MOD_HANDLE;=0D =0D =0D -EFI_STATUS=0D -EFIAPI=0D -SecUnixPeiLoadFile (=0D - VOID *Pe32Data,=0D - EFI_PHYSICAL_ADDRESS *ImageAddress,=0D - UINT64 *ImageSize,=0D - EFI_PHYSICAL_ADDRESS *EntryPoint=0D - );=0D -=0D int=0D main (=0D IN int Argc,=0D @@ -169,48 +160,6 @@ SecLoadFromCore ( IN VOID *PeiCoreFile=0D );=0D =0D -EFI_STATUS=0D -SecLoadFile (=0D - IN VOID *Pe32Data,=0D - IN EFI_PHYSICAL_ADDRESS *ImageAddress,=0D - IN UINT64 *ImageSize,=0D - IN EFI_PHYSICAL_ADDRESS *EntryPoint=0D - );=0D -=0D -EFI_STATUS=0D -SecFfsFindPeiCore (=0D - IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,=0D - OUT VOID **Pe32Data=0D - );=0D -=0D -EFI_STATUS=0D -SecFfsFindNextFile (=0D - IN EFI_FV_FILETYPE SearchType,=0D - IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader,=0D - IN OUT EFI_FFS_FILE_HEADER **FileHeader=0D - );=0D -=0D -EFI_STATUS=0D -SecFfsFindSectionData (=0D - IN EFI_SECTION_TYPE SectionType,=0D - IN EFI_FFS_FILE_HEADER *FfsFileHeader,=0D - IN OUT VOID **SectionData=0D - );=0D -=0D -EFI_STATUS=0D -EFIAPI=0D -SecUnixPeCoffLoaderLoadAsDll (=0D - IN CHAR8 *PdbFileName,=0D - IN VOID **ImageEntryPoint,=0D - OUT VOID **ModHandle=0D - );=0D -=0D -EFI_STATUS=0D -EFIAPI=0D -SecUnixPeCoffLoaderFreeLibrary (=0D - OUT VOID *ModHandle=0D - );=0D -=0D EFI_STATUS=0D SecUnixFdAddress (=0D IN UINTN Index,=0D @@ -231,12 +180,6 @@ GasketSecUnixFdAddress ( ;=0D =0D =0D -EFI_STATUS=0D -GetImageReadFunction (=0D - IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext,=0D - IN EFI_PHYSICAL_ADDRESS *TopOfMemory=0D - );=0D -=0D EFI_STATUS=0D EFIAPI=0D SecImageRead (=0D @@ -246,36 +189,12 @@ SecImageRead ( OUT VOID *Buffer=0D );=0D =0D -CHAR16 *=0D -AsciiToUnicode (=0D - IN CHAR8 *Ascii,=0D - IN UINTN *StrLen OPTIONAL=0D - );=0D -=0D UINTN=0D CountSeparatorsInString (=0D IN const CHAR16 *String,=0D IN CHAR16 Separator=0D );=0D =0D -EFI_STATUS=0D -EFIAPI=0D -SecTemporaryRamSupport (=0D - IN CONST EFI_PEI_SERVICES **PeiServices,=0D - IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,=0D - IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,=0D - IN UINTN CopySize=0D - );=0D -=0D -EFI_STATUS=0D -EFIAPI=0D -GasketSecTemporaryRamSupport (=0D - IN CONST EFI_PEI_SERVICES **PeiServices,=0D - IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,=0D - IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,=0D - IN UINTN CopySize=0D - );=0D -=0D =0D RETURN_STATUS=0D EFIAPI=0D @@ -290,12 +209,6 @@ SecPeCoffRelocateImageExtraAction ( IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext=0D );=0D =0D -VOID=0D -EFIAPI=0D -SecPeCoffLoaderUnloadImageExtraAction (=0D - IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext=0D - );=0D -=0D =0D VOID=0D PeiSwitchStacks (=0D --=20 2.31.1