blob: 74e9a44aaf32582168e7356db41c579650ef4b78 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
|
/*
* COPYRIGHT (c) 2013-2017 Chris Johns <chrisj@rtems.org>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
/**
* @file
*
* @ingroup rtems_fdt
*
* @brief RTEMS Flattened Device Tree Shell Command
*
* Support for loading, managing and accessing FDT blobs in RTEMS.
*/
#if !defined (_RTEMS_FDT_SHELL_H_)
#define _RTEMS_FDT_SHELL_H_
#include <rtems/rtems-fdt.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* Add a shell command to access memory and registers associated with the DTF.
*/
void rtems_fdt_add_shell_command (void);
/**
* Get a pointer to the handle. You can use this to load files or register
* blobs and have the shell command access them.
*/
rtems_fdt_handle* rtems_fdt_get_shell_handle (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
|