mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +00:00
[REACTOS] Addendum to 5c7ce4475e
- Fix MSVC 2015 build
Put data into PAGEDATA or INITDATA sections Keep section declaration for prototypes CORE-17540
This commit is contained in:
parent
03e824641e
commit
3adf450867
82 changed files with 1720 additions and 1789 deletions
|
@ -31,10 +31,6 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#if defined(ALLOC_PRAGMA)
|
||||
#pragma alloc_text(INIT, DfsDriverEntry)
|
||||
#endif
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
|
|
|
@ -51,6 +51,7 @@ DfsUnload(
|
|||
PDRIVER_OBJECT DriverObject
|
||||
);
|
||||
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
DfsDriverEntry(
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
|
|
|
@ -32,32 +32,6 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
PUNICODE_STRING RegistryPath
|
||||
);
|
||||
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeData(
|
||||
VOID
|
||||
);
|
||||
|
||||
CODE_SEG("INIT")
|
||||
VOID
|
||||
MupInitializeVcb(
|
||||
PMUP_VCB Vcb
|
||||
);
|
||||
|
||||
#if defined(ALLOC_PRAGMA)
|
||||
#pragma alloc_text(INIT, DriverEntry)
|
||||
#pragma alloc_text(INIT, MupInitializeData)
|
||||
#pragma alloc_text(INIT, MupInitializeVcb)
|
||||
#endif
|
||||
|
||||
ERESOURCE MupGlobalLock;
|
||||
ERESOURCE MupPrefixTableLock;
|
||||
ERESOURCE MupCcbListLock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue