2015-11-22 11:25:41 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) Intel Corporation
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-11-22 11:25:41 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SHARED_MEM_H_
|
|
|
|
#define _SHARED_MEM_H_
|
|
|
|
|
|
|
|
/* Start of the shared 80K RAM */
|
|
|
|
#define SHARED_ADDR_START 0xA8000000
|
|
|
|
|
|
|
|
struct shared_mem {
|
|
|
|
uint32_t arc_start;
|
|
|
|
uint32_t flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define ARC_READY (1 << 0)
|
|
|
|
|
|
|
|
#define shared_data ((volatile struct shared_mem *) SHARED_ADDR_START)
|
|
|
|
|
|
|
|
#endif
|