ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt

No.
ExAllocatePool allocates the kernel memory, and 0x00000000-0x7fffffff is user memory.

Max

----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 8:54 PM
Subject: [ntdev] ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt

On an X86 that’s true. How does the memory map look on ia64?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 1:25 PM
Subject: [ntdev] Re: ExAllocatePool

No.
ExAllocatePool allocates the kernel memory, and 0x00000000-0x7fffffff is user memory.

Max

----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 8:54 PM
Subject: [ntdev] ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt

I don’t think that kernel mode allocator will be able of allocating user memory on any architecture.

----- Original Message -----
From: Dave Harvey
To: NT Developers Interest List
Sent: Sunday, November 05, 2000 3:12 AM
Subject: [ntdev] Re: ExAllocatePool

On an X86 that’s true. How does the memory map look on ia64?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 1:25 PM
Subject: [ntdev] Re: ExAllocatePool

No.
ExAllocatePool allocates the kernel memory, and 0x00000000-0x7fffffff is user memory.

Max

----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 8:54 PM
Subject: [ntdev] ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt

I was changing subjects. Do they still distinguish User/Kernel by the MSB
of the VA? Or is there a different strategy?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 11:58 PM
Subject: [ntdev] Re: ExAllocatePool

I don’t think that kernel mode allocator will be able of allocating user memory on any architecture.

----- Original Message -----
From: Dave Harvey
To: NT Developers Interest List
Sent: Sunday, November 05, 2000 3:12 AM
Subject: [ntdev] Re: ExAllocatePool

On an X86 that’s true. How does the memory map look on ia64?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 1:25 PM
Subject: [ntdev] Re: ExAllocatePool

No.
ExAllocatePool allocates the kernel memory, and 0x00000000-0x7fffffff is user memory.

Max

----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 8:54 PM
Subject: [ntdev] ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt

IIRC there is a constant “highest user address”. See ProbeForRead macro in the IFS kit.
----- Original Message -----
From: Dave Harvey
To: NT Developers Interest List
Sent: Monday, November 06, 2000 12:04 AM
Subject: [ntdev] Re: ExAllocatePool

I was changing subjects. Do they still distinguish User/Kernel by the MSB
of the VA? Or is there a different strategy?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 11:58 PM
Subject: [ntdev] Re: ExAllocatePool

I don’t think that kernel mode allocator will be able of allocating user memory on any architecture.

----- Original Message -----
From: Dave Harvey
To: NT Developers Interest List
Sent: Sunday, November 05, 2000 3:12 AM
Subject: [ntdev] Re: ExAllocatePool

On an X86 that’s true. How does the memory map look on ia64?
-DH
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 1:25 PM
Subject: [ntdev] Re: ExAllocatePool

No.
ExAllocatePool allocates the kernel memory, and 0x00000000-0x7fffffff is user memory.

Max

----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Saturday, November 04, 2000 8:54 PM
Subject: [ntdev] ExAllocatePool

Hello, a question

ExAllocatePool always returns an address included in the FFFFFFFF-80000000 range?
Are there circumstances in which it can return an address in the range 7FFFFFFF-00000000 ?

Thanks
Matt