fuchsia.h 702 B

12345678910111213141516171819202122232425262728293031
  1. //===-- fuchsia.h -----------------------------------------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef SCUDO_FUCHSIA_H_
  9. #define SCUDO_FUCHSIA_H_
  10. #include "platform.h"
  11. #if SCUDO_FUCHSIA
  12. #error #include <zircon/process.h>
  13. namespace scudo {
  14. struct MapPlatformData {
  15. zx_handle_t Vmar;
  16. zx_handle_t Vmo;
  17. uintptr_t VmarBase;
  18. uint64_t VmoSize;
  19. };
  20. } // namespace scudo
  21. #endif // SCUDO_FUCHSIA
  22. #endif // SCUDO_FUCHSIA_H_