forked from phoenix-rtos/phoenix-rtos-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprograms.h
More file actions
44 lines (36 loc) · 667 Bytes
/
Copy pathprograms.h
File metadata and controls
44 lines (36 loc) · 667 Bytes
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
43
44
/*
* Phoenix-RTOS
*
* Operating system kernel
*
* Empty file holding programs
*
* Copyright 2018 Phoenix Systems
* Author: Pawel Pisarczyk
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#ifndef _PROGRAMS_H_
#define _PROGRAMS_H_
#include HAL
typedef struct _cpio_newc_t {
char c_magic[6];
char c_ino[8];
char c_mode[8];
char c_uid[8];
char c_gid[8];
char c_nlink[8];
char c_mtime[8];
char c_filesize[8];
char c_devmajor[8];
char c_devminor[8];
char c_rdevmajor[8];
char c_rdevminor[8];
char c_namesize[8];
char c_check[8];
char name[];
} cpio_newc_t;
extern int programs_decode(vm_map_t *kmap, vm_object_t *kernel);
#endif