| // Copyright 2018 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #ifndef SYSROOT_ZIRCON_LIMITS_H_ | |
| #define SYSROOT_ZIRCON_LIMITS_H_ | |
| #include <stdint.h> | |
| #define ZX_PAGE_SHIFT ((uint32_t)12u) | |
| #define ZX_PAGE_SIZE ((uintptr_t)(1u << ZX_PAGE_SHIFT)) | |
| #define ZX_PAGE_MASK (ZX_PAGE_SIZE - 1u) | |
| #endif // SYSROOT_ZIRCON_LIMITS_H_ |