page_allocator_internal.h 774 B

12345678910111213141516171819202122
  1. // Copyright (c) 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_
  5. #define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_
  6. #include <cstddef>
  7. #include <cstdint>
  8. #include "base/allocator/partition_allocator/page_allocator.h"
  9. namespace partition_alloc::internal {
  10. uintptr_t SystemAllocPages(uintptr_t hint,
  11. size_t length,
  12. PageAccessibilityConfiguration accessibility,
  13. PageTag page_tag);
  14. } // namespace partition_alloc::internal
  15. #endif // BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_