We will use the more recent SECTION (already used in ARM3) and this will avoid confusions
NTAPI
MmGetFileObjectForSection(IN PVOID SectionObject)
{
- PSECTION_OBJECT Section;
+ PSECTION Section;
ASSERT(KeGetCurrentIrql() == PASSIVE_LEVEL);
ASSERT(SectionObject != NULL);
NTAPI
MmGetImageInformation (OUT PSECTION_IMAGE_INFORMATION ImageInformation)
{
- PSECTION_OBJECT SectionObject;
+ PSECTION SectionObject;
/* Get the section object of this process*/
SectionObject = PsGetCurrentProcess()->SectionObject;
PEPROCESS Process, Parent;
PVOID ExceptionPortObject;
PDEBUG_OBJECT DebugObject;
- PSECTION_OBJECT SectionObject;
+ PSECTION SectionObject;
NTSTATUS Status, AccessStatus;
ULONG_PTR DirectoryTableBase[2] = {0,0};
KAFFINITY Affinity;
PMMSUBSECTION_FLAGS MmSubSectionFlags;
} SEGMENT_OBJECT, *PSEGMENT_OBJECT;
-//
-// Section Object
-//
-typedef struct _SECTION_OBJECT
-{
- PVOID StartingVa;
- PVOID EndingVa;
- PVOID Parent;
- PVOID LeftChild;
- PVOID RightChild;
- PSEGMENT_OBJECT Segment;
-} SECTION_OBJECT, *PSECTION_OBJECT;
-
//
// Generic Address Range Structure
//