diff options
| author | Nicholas Bishop <nicholasbishop@google.com> | 2022-12-20 14:40:39 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2023-01-27 14:18:13 -0500 |
| commit | e4f40ae862b5389c8cc7d4f938a34238421456a1 (patch) | |
| tree | d42b5fcfc543a5f89a7790e7575c4b0319b5e876 /Cryptlib/Cryptlib.diff | |
| parent | c7b305152802c8db688605654f75e1195def9fd6 (diff) | |
| download | efi-boot-shim-e4f40ae862b5389c8cc7d4f938a34238421456a1.tar.gz efi-boot-shim-e4f40ae862b5389c8cc7d4f938a34238421456a1.zip | |
pe: Add IS_PAGE_ALIGNED macro
This makes some checks in `get_mem_attrs` and `update_mem_attrs`
clearer.
Also add `test-pe-util.c` with a test for the new macro. The file is
named that way instead of `test-pe.c` to avoid having to get `pe.c`
building in the unit test environment.
Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
Diffstat (limited to 'Cryptlib/Cryptlib.diff')
0 files changed, 0 insertions, 0 deletions
