1 /* Copyright 2020 The ChromiumOS Authors 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 * 5 * Allows the caller to peek into vboot2 data structures, by including a 6 * specific set of internal header files. Including this header means the 7 * caller is broken and should be fixed. 8 * 9 * TODO(chromium:957880): The existence of this header is a bug, and it should 10 * be removed when it is no longer used. 11 */ 12 13 #ifndef VBOOT_REFERENCE_VB2_INTERNALS_PLEASE_DO_NOT_USE_H_ 14 #define VBOOT_REFERENCE_VB2_INTERNALS_PLEASE_DO_NOT_USE_H_ 15 16 /* 17 * Coreboot should not need access to vboot2 internals. But right now it does. 18 * At least this forces it to do so through a relatively narrow hole so vboot2 19 * refactoring can continue. 20 * 21 * Please do not rip this into a wider hole, or expect this hole to continue. 22 */ 23 #include "../2lib/include/2misc.h" /* for vb2_get_sd() */ 24 #include "../2lib/include/2struct.h" /* for vb2_shared_data struct */ 25 26 #endif /* VBOOT_REFERENCE_VB2_INTERNALS_PLEASE_DO_NOT_USE_H_ */ 27