/* 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" /* Console commands */ extern const struct console_command __cmds[]; extern const struct console_command __cmds_end[]; /* Hooks */ 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 hook_data __hooks_chipset_pre_init[]; extern const struct hook_data __hooks_chipset_pre_init_end[]; extern const struct hook_data __hooks_chipset_startup[]; extern const struct hook_data __hooks_chipset_startup_end[]; extern const struct hook_data __hooks_chipset_resume[]; extern const struct hook_data __hooks_chipset_resume_end[]; extern const struct hook_data __hooks_chipset_suspend[]; extern const struct hook_data __hooks_chipset_suspend_end[]; extern const struct hook_data __hooks_chipset_shutdown[]; extern const struct hook_data __hooks_chipset_shutdown_end[]; extern const struct hook_data __hooks_ac_change[]; extern const struct hook_data __hooks_ac_change_end[]; extern const struct hook_data __hooks_lid_change[]; extern const struct hook_data __hooks_lid_change_end[]; extern const struct hook_data __hooks_tick[]; extern const struct hook_data __hooks_tick_end[]; extern const struct hook_data __hooks_second[]; extern const struct hook_data __hooks_second_end[]; /* Host commands */ extern const struct host_command __hcmds[]; extern const struct host_command __hcmds_end[]; /* IRQs (interrupt handlers) */ extern const struct irq_priority __irqprio[]; extern const struct irq_priority __irqprio_end[]; /* Shared memory buffer. Use via shared_mem.h interface. */ extern uint8_t __shared_mem_buf[]; #endif /* __CROS_EC_LINK_DEFS_H */