mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +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
|
@ -82,7 +82,7 @@ DfsUnload(PDRIVER_OBJECT DriverObject)
|
|||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
DfsDriverEntry(PDRIVER_OBJECT DriverObject,
|
||||
PUNICODE_STRING RegistryPath)
|
||||
|
|
|
@ -51,7 +51,6 @@ DfsUnload(
|
|||
PDRIVER_OBJECT DriverObject
|
||||
);
|
||||
|
||||
INIT_FUNCTION
|
||||
NTSTATUS
|
||||
DfsDriverEntry(
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
|
@ -40,13 +40,13 @@ DriverEntry(
|
|||
PUNICODE_STRING RegistryPath
|
||||
);
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeData(
|
||||
VOID
|
||||
);
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeVcb(
|
||||
PMUP_VCB Vcb
|
||||
|
@ -79,7 +79,7 @@ NTSTATUS MupOrderedErrorList[] = { STATUS_UNSUCCESSFUL,
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeData(VOID)
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ MupUninitializeData()
|
|||
ExDeleteResourceLite(&MupVcbLock);
|
||||
}
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeVcb(PMUP_VCB Vcb)
|
||||
{
|
||||
|
@ -2510,7 +2510,7 @@ MupUnload(PDRIVER_OBJECT DriverObject)
|
|||
* RegistryPath = path to our configuration entries
|
||||
* RETURNS: Success or failure
|
||||
*/
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(PDRIVER_OBJECT DriverObject,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue