Dynamic Tools Team | 517193e | 2019-09-11 14:48:41 +0000 | [diff] [blame] | 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 | |
| 9 | #ifndef SCUDO_FUCHSIA_H_ |
| 10 | #define SCUDO_FUCHSIA_H_ |
| 11 | |
| 12 | #include "platform.h" |
| 13 | |
| 14 | #if SCUDO_FUCHSIA |
| 15 | |
| 16 | #include <zircon/process.h> |
| 17 | |
| 18 | namespace scudo { |
| 19 | |
| 20 | struct MapPlatformData { |
| 21 | zx_handle_t Vmar; |
| 22 | zx_handle_t Vmo; |
| 23 | uintptr_t VmarBase; |
| 24 | uint64_t VmoSize; |
| 25 | }; |
| 26 | |
| 27 | } // namespace scudo |
| 28 | |
| 29 | #endif // SCUDO_FUCHSIA |
| 30 | |
| 31 | #endif // SCUDO_FUCHSIA_H_ |