fuchsia.h 720 B

1234567891011121314151617181920212223242526272829303132
  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. #include <stdint.h>
  13. #error #include <zircon/types.h>
  14. namespace scudo {
  15. struct MapPlatformData {
  16. zx_handle_t Vmar;
  17. zx_handle_t Vmo;
  18. uintptr_t VmarBase;
  19. uint64_t VmoSize;
  20. };
  21. } // namespace scudo
  22. #endif // SCUDO_FUCHSIA
  23. #endif // SCUDO_FUCHSIA_H_