huangcm
2025-04-07 511b111543524704f6182b374e489f5d0e51db8c
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
 
/*
 * (C) Copyright 2018, Linaro Limited
 *
 * SPDX-License-Identifier:    GPL-2.0+
 */
 
#ifndef    _AVB_VERIFY_H
#define _AVB_VERIFY_H
 
#include <../lib/libavb/libavb.h>
 
#define AVB_MAX_ARGS            1024
#define VERITY_TABLE_OPT_RESTART    "restart_on_corruption"
#define VERITY_TABLE_OPT_LOGGING    "ignore_corruption"
#define ALLOWED_BUF_ALIGN        8
 
enum avb_boot_state {
   AVB_GREEN,
   AVB_YELLOW,
   AVB_ORANGE,
   AVB_RED,
};
 
#endif /* _AVB_VERIFY_H */