[NTOS] Move two CODE_SEG("INIT") to a better place.

This commit is contained in:
Hermès Bélusca-Maïto 2021-09-05 21:05:05 +02:00
parent 1fd730b781
commit fe9ac14aa3
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,8 @@ static KEVENT IopPnpNotifyEvent;
/* FUNCTIONS *****************************************************************/
NTSTATUS CODE_SEG("INIT")
CODE_SEG("INIT")
NTSTATUS
IopInitPlugPlayEvents(VOID)
{
InitializeListHead(&IopPnpEventQueueHead);

View file

@ -440,9 +440,9 @@ MiSetupPfnForPageTable(
Pfn->u2.ShareCount++;
}
CODE_SEG("INIT")
static
VOID
CODE_SEG("INIT")
MiBuildPfnDatabaseFromPageTables(VOID)
{
PVOID Address = NULL;