| /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
| /* |
| * arch/arm/cpu/armv8/g12b/firmware/scp_task/data.h |
| * |
| * Copyright (C) 2020 Amlogic, Inc. All rights reserved. |
| * |
| */ |
| |
| #include "config.h" |
| |
| #define TASK_COMMAND_OFFSET 0 |
| #define TASK_RESPONSE_OFFSET 0x200 |
| |
| unsigned char |
| *secure_task_share_mem = (unsigned char *)SECURE_TASK_SHARE_MEM_BASE; |
| unsigned char *high_task_share_mem = (unsigned char *)HIGH_TASK_SHARE_MEM_BASE; |
| unsigned char *low_task_share_mem = (unsigned char *)LOW_TASK_SHARE_MEM_BASE; |
| |
| struct resume_param { |
| /* wakeup method: remote, ..., */ |
| unsigned int method; |
| }; |
| struct resume_param resume_data; |