kernel 4.18 support
[cinitramfs.git] / globals.h
blob1890391057120a83a6714310987be3ca82de46cc
1 /*******************************************************************************
2 this code is protected by the GNU affero GPLv3
3 author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
4 *******************************************************************************/
6 #ifdef INIT_C
7 #define EXTERN
8 #else
9 #define EXTERN extern
10 #endif
12 EXTERN u8 *root_uuid;
13 #define ROOT_DEV_PATH_SZ 256*2
14 #define ROOT_FS_TYPE_SZ 256
15 EXTERN u8 root_dev_path[ROOT_DEV_PATH_SZ];
16 EXTERN u8 root_fs_type[ROOT_FS_TYPE_SZ];
18 /*some shared returned values*/
19 #define ROOT_FOUND 1
20 #define ROOT_NOT_FOUND 0