forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PA] Move the uintptr_t/void* line lower to the bottom of Page Allocator
There are plenty of reinterpret_casts on the border between PartitionAlloc and the Page Allocator layer. By transitioning the Page Allocator to uintptr_t, the reinterpret_casts can be nicely contained to locations where it interacts with the OS APIs that require void*. Since the Page Allocator API is public, some of its functions needed to keep their void* counterpart (side-by-side, as an overloaded function). Bug: 1280844 Change-Id: I9256c27088ace2b84e4bb8128f9ea8ad195e68ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3396342 Reviewed-by: Benoit Lize <lizeb@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Bartek Nowierski <bartekn@chromium.org> Auto-Submit: Bartek Nowierski <bartekn@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#961328}
- Loading branch information
1 parent
5e5152d
commit bd4cffe
Showing
23 changed files
with
483 additions
and
432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.