[REACTOS] Cleanup INIT and some PAGE section allocations

- Change INIT_FUNCTION and INIT_SECTION to CODE_SEG("INIT") and DATA_SEG("INIT") respectively
- Remove INIT_FUNCTION from function prototypes
- Remove alloc_text pragma calls as they are not needed anymore
This commit is contained in:
Victor Perevertkin 2020-10-06 22:44:01 +03:00
parent 658f742c2d
commit 5c7ce4475e
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
184 changed files with 397 additions and 906 deletions

View file

@ -13,10 +13,6 @@
#define NDEBUG
#include <debug.h>
#if defined(ALLOC_PRAGMA) && !defined(_MINIHAL_)
#pragma alloc_text(INIT, HalpInitializeClock)
#endif
/* GLOBALS *******************************************************************/
#define PIT_LATCH 0x00
@ -90,7 +86,7 @@ HalpSetTimerRollOver(USHORT RollOver)
__writeeflags(Flags);
}
INIT_FUNCTION
CODE_SEG("INIT")
VOID
NTAPI
HalpInitializeClock(VOID)