Kathleen Capella | bde3eab | 2024-12-09 14:04:43 -0500 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2024, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <stddef.h> |
| 8 | #include <stdio.h> |
| 9 | #include <lib/hob/hob.h> |
| 10 | #include <lib/hob/hob_guid.h> |
| 11 | #include <lib/hob/mmram.h> |
| 12 | #include <lib/utils_def.h> |
| 13 | |
| 14 | #define ALIGN_UP(x, a) ((x + (a - 1)) & ~(a - 1)) |
| 15 | |
| 16 | void tftf_dump_hob_generic_header(struct efi_hob_generic_header h) |
| 17 | { |
| 18 | printf("Hob Type: 0x%x\n", h.hob_type); |
| 19 | printf("Hob Length: 0x%x\n", h.hob_length); |
| 20 | } |