blob: 7a0ec15f8032c0a4494b9adac55d4b93ed56c862 [file] [log] [blame]
Antonio Nino Diaz26b38642019-03-28 13:16:04 +00001/*
2 * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef QUARK_DEF_H
8#define QUARK_DEF_H
9
10#include <utils_def.h>
11
12/*
13 * Layout of the Secure Partition image.
14 */
15
16/* The base address is 0 to reduce the address space size */
17#define QUARK_IMAGE_BASE ULL(0x00000000)
18#define QUARK_IMAGE_SIZE ULL(0x10000)
19
20/* Memory reserved for stacks */
21#define QUARK_STACKS_SIZE ULL(0x1000)
22
23/* Memory shared between EL3 and S-EL0 (64 KiB). */
24#define QUARK_SPM_BUF_BASE (QUARK_IMAGE_BASE + QUARK_IMAGE_SIZE)
25#define QUARK_SPM_BUF_SIZE ULL(0x10000)
26
27/*
28 * UUIDs of Secure Services provided by Quark
29 */
30
31/* Mass (MeV/c^2): Up, down, charm, strange */
32#define QUARK_SERVICE1_UUID U(0x23), U(0x48), U(0x1275), U(0x95)
33
34#define QUARK_SERVICE1_UUID_RD U(0x23) U(0x48) U(0x1275) U(0x95)
35
36/*
37 * Service IDs
38 */
39/* Return a magic number unique to QUARK */
40#define QUARK_GET_MAGIC U(2002)
41
42/* Mass (MeV/c^2): Top */
43#define QUARK_MAGIC_NUMBER U(0x173210)
44
45#endif /* QUARK_DEF_H */