summaryrefslogtreecommitdiff
path: root/core/cortex-m/link_defs.h
blob: af809ad7e006ff5a835eaa64e36d62e5732e1ae2 (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
30
31
32
33
34
/* Copyright (c) 2012 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.
 *
 * Symbols from linker definitions
 */

#ifndef __CROS_EC_LINK_DEFS_H
#define __CROS_EC_LINK_DEFS_H

#include "console.h"
#include "hooks.h"
#include "host_command.h"
#include "task.h"

extern const struct console_command __cmds[];
extern const struct console_command __cmds_end[];

extern const struct hook_data __hooks_init[];
extern const struct hook_data __hooks_init_end[];
extern const struct hook_data __hooks_freq_change[];
extern const struct hook_data __hooks_freq_change_end[];
extern const struct hook_data __hooks_sysjump[];
extern const struct hook_data __hooks_sysjump_end[];

extern const struct host_command __hcmds[];
extern const struct host_command __hcmds_end[];

extern const struct irq_priority __irqprio[];
extern const struct irq_priority __irqprio_end[];

extern uint8_t __shared_mem_buf[];

#endif /* __CROS_EC_LINK_DEFS_H */