File: dt-ops.h

package info (click to toggle)
kexec-tools 1%3A2.0.20-2.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,828 kB
  • sloc: ansic: 27,201; sh: 3,486; asm: 2,625; cpp: 1,752; makefile: 930
file content (14 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if !defined(KEXEC_DT_OPS_H)
#define KEXEC_DT_OPS_H

#include <sys/types.h>

int dtb_set_initrd(char **dtb, off_t *dtb_size, off_t start, off_t end);
void dtb_clear_initrd(char **dtb, off_t *dtb_size);
int dtb_set_bootargs(char **dtb, off_t *dtb_size, const char *command_line);
int dtb_set_property(char **dtb, off_t *dtb_size, const char *node,
	const char *prop, const void *value, int value_len);

int dtb_delete_property(char *dtb, const char *node, const char *prop);

#endif