blob: 20f4404d38691661dc3aaf1ada5d9f9bea54fbd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* Copyright 2016 The Chromium OS 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 __CROS_EC_CONFIG_CORE_H
#define __CROS_EC_CONFIG_CORE_H
/* Linker binary architecture and format */
#define BFD_ARCH "i386"
#define BFD_FORMAT "elf32-i386"
#define CONFIG_SOFTWARE_PANIC
/*
* Since all implementations minute-ia are a single core, we do not need a
* "lock;" prefix on any instructions. We use the below define in places where
* a lock statement would be needed if there were multiple cores.
*
* Also the destination operand needs to be a memory location instead of a
* register for us to drop the "lock;" prefix for a single-core chip.
*/
#ifndef __ASSEMBLER__
#define ASM_LOCK_PREFIX ""
#else
#define ASM_LOCK_PREFIX
#endif
#endif /* __CROS_EC_CONFIG_CORE_H */
|