mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[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:
parent
658f742c2d
commit
5c7ce4475e
184 changed files with 397 additions and 906 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue