1 /* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 #ifndef __CONFIGURATION_TABLE_ 19 #define __CONFIGURATION_TABLE_ 20 21 #include <uefi/system_table.h> 22 #include <uefi/types.h> 23 24 struct linux_efi_random_seed { 25 uint32_t size; 26 uint8_t bits[]; 27 }; 28 29 static constexpr auto LINUX_EFI_RANDOM_SEED_TABLE_GUID = 30 EfiGuid{0x1ce1e5bc, 31 0x7ceb, 32 0x42f2, 33 {0x81, 0xe5, 0x8a, 0xad, 0xf1, 0x80, 0xf5, 0x7b}}; 34 static constexpr auto DEVICE_TREE_GUID = 35 EfiGuid{0xb1b621d5, 36 0xf19c, 37 0x41a5, 38 {0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0}}; 39 40 void setup_configuration_table(EfiSystemTable *table); 41 42 #endif 43