mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:43:33 +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
|
@ -176,7 +176,6 @@ extern UNICODE_STRING Volume;
|
|||
extern KEVENT UnloadEvent;
|
||||
extern LONG Unloading;
|
||||
|
||||
INIT_FUNCTION
|
||||
DRIVER_INITIALIZE DriverEntry;
|
||||
|
||||
VOID
|
||||
|
@ -229,7 +228,6 @@ HasDriveLetter(
|
|||
IN PDEVICE_INFORMATION DeviceInformation
|
||||
);
|
||||
|
||||
INIT_FUNCTION
|
||||
BOOLEAN
|
||||
MountmgrReadNoAutoMount(
|
||||
IN PUNICODE_STRING RegistryPath
|
||||
|
|
|
@ -899,7 +899,7 @@ MountMgrUnload(IN struct _DRIVER_OBJECT *DriverObject)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
BOOLEAN
|
||||
MountmgrReadNoAutoMount(IN PUNICODE_STRING RegistryPath)
|
||||
{
|
||||
|
@ -1793,7 +1793,7 @@ MountMgrShutdown(IN PDEVICE_OBJECT DeviceObject,
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
INIT_FUNCTION
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue