Commit Graph

14 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 da7132246a Add relocatable POSIX version of cc_amd64.S. 2022-10-01 15:15:57 +01:00
Andrius Štikonas 999a4b5148 Use .intel_syntax directive instead of Makefile option in .S files. 2022-09-27 22:52:18 +01:00
Andrius Štikonas 9b9ff9ac52 hex1: 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-07 22:32:18 +01:00
Andrius Štikonas 7020101bd7 Remove a separate .data section in assembly prototypes to match what we are doing in hex/M1. 2022-09-04 00:45:13 +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 ce5f77ddc5 hex2: Use a single allocate_pool call. 2022-08-21 22:47:24 +01:00
Andrius Štikonas 62ba4ba253 hex.S: Fix a bug where store label was called rather than jumped into. 2022-08-20 23:11:30 +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