kosmos/source/firmware/kernel/include/shell_data.h

23 lines
433 B
C
Raw Permalink Normal View History

2016-08-11 09:04:54 +00:00
/*
* shell_data.h
*
* Created on: Aug 11, 2016
* Author: tkl
*/
#ifndef SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_
#define SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_
2016-08-16 07:33:49 +00:00
#pragma pack(push)
#pragma pack(1)
2016-08-11 09:04:54 +00:00
struct shell_object {
struct list command_list;
const struct driver *shell_device;
bool echo_on;
};
2016-08-16 07:33:49 +00:00
#pragma pack(pop)
2016-08-11 09:04:54 +00:00
struct shell_object shell_object;
#endif /* SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_ */