Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ExAllocatePool2 support to usersim #124

Merged
merged 6 commits into from
Sep 18, 2023
Merged

Add ExAllocatePool2 support to usersim #124

merged 6 commits into from
Sep 18, 2023

Conversation

dthaler
Copy link
Contributor

@dthaler dthaler commented Sep 17, 2023

  • Add ExAllocatePool2 support
  • Make winuser cxplat_allocation_header_t be DEBUG only (fixes Optimize memory_winuser.cpp #111)
  • Make cxplat_allocate use pool flags instead of the older pool type values
  • Remove _cache_aligned APIs since there is a cache aligned pool flag
  • Use non-executable memory allocation for usersim FWP NBL's
  • Use cxplat_free with tag = 0 instead of a separate API cxplat_free_any_tag
  • Fix double-free of a WDFDEVICE if the driver creates and then deletes a device object before being unloaded (this will get cleaned up even more once Support for multiple devices per usersim driver #114 is done)

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
@dthaler dthaler merged commit 2771937 into main Sep 18, 2023
5 checks passed
@dthaler dthaler deleted the cache branch September 18, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize memory_winuser.cpp
2 participants