mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +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
|
@ -26,16 +26,6 @@ static NTSTATUS NTAPI PciPowerControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Ir
|
|||
static DRIVER_DISPATCH PciPnpControl;
|
||||
static NTSTATUS NTAPI PciPnpControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);
|
||||
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
|
||||
// Make the initialization routines discardable, so that they
|
||||
// don't waste space
|
||||
|
||||
#pragma alloc_text(INIT, DriverEntry)
|
||||
|
||||
#endif /* ALLOC_PRAGMA */
|
||||
|
||||
/*** PUBLIC ******************************************************************/
|
||||
|
||||
PPCI_DRIVER_EXTENSION DriverExtension = NULL;
|
||||
|
@ -204,6 +194,7 @@ PciUnload(
|
|||
UNREFERENCED_PARAMETER(DriverObject);
|
||||
}
|
||||
|
||||
CODE_SEG("INIT")
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue