[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
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;