Commit Graph

12 Commits

Author SHA1 Message Date
Andrius Štikonas 1407f92220
cc_amd64: fix stack alignment and save non-volatile registers. 2023-12-23 23:09:33 +00:00
Andrius Štikonas c01f86c7c5
hex2: fix stack alignment and save non-volatile registers. 2023-12-22 23:16:51 +00:00
Andrius Štikonas e5453f203a Remove an extra confusing zero from SIMPLE_FS_PROTOCOL_GUID. 2022-10-23 22:59:37 +01:00
Andrius Štikonas d518c45e8d Backport PE32 header changes to all early stage0-uefi programs. 2022-10-11 00:55:46 +01:00
Andrius Štikonas d647ffa3a6 Add M0.hex2. 2022-09-25 23:01:25 +01:00
Andrius Štikonas cc85d5f8db kame-minimal: Implement various improvements:
* Make sure to close all protocols before exit.
 * Use more sophisticated command line argument processing
   that pushes command line arguments onto stack.
 * Switch to more readable M1 defines.
2022-09-17 14:18:59 +01:00
Andrius Štikonas 35dbae15a0 Further fixes to hex2 command line parsing.
Do not hang if not arguments is specified or input file does not exist.
2022-08-28 23:06:47 +01:00
Andrius Štikonas 2b25915169 hex2: implement various improvements.
* Make sure to close all protocols before exit.
 * Use more sophisticated command line argument processinh
   that pushes command line arguments onto stack.
 * Switch to more readable M1 defines
 * Handle the case when output file is not specified
2022-08-28 21:57:14 +01:00
Andrius Štikonas dcaba36d05 hex2: also close rootdir on exit. 2022-08-21 23:46:40 +01:00
Andrius Štikonas e3ccc9b046 hex2: fix free_pool bug.
r12 was not pointing towards begining of pool,
hence we were not freeing allocated memory.
2022-08-21 23:07:46 +01:00
Andrius Štikonas ba541383ad Add catm.S prototype. 2022-08-14 17:25:44 +01:00
Andrius Štikonas 761169b59a Add hex2. 2022-08-13 20:57:36 +01:00