Andrius Štikonas
ddcc53ab44
hex0: optimize stack alignment code.
2023-12-17 17:34:49 +00:00
Andrius Štikonas
20c3bfbb99
Further hex0 size reduction and calling convention fixes.
2023-12-16 17:09:51 +00:00
Andrius Štikonas
4a1f2ba310
Reduce size of hex0 by 3 bytes.
2023-12-09 19:54:44 +00:00
Andrius Štikonas
daba916619
hex0: Use $ for unsigned 2-byte constants.
2023-12-09 17:47:35 +00:00
Andrius Štikonas
dde77cdb0f
Fix stack alignment to 16 bytes and save non-volatile registers.
2023-12-09 17:23:27 +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
dbc06eff76
Make hex0 one byte smaller.
2022-10-11 00:59:36 +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
32deb0ffaf
hex0: 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-10 23:57:31 +01:00
Andrius Štikonas
ba541383ad
Add catm.S prototype.
2022-08-14 17:25:44 +01:00
Andrius Štikonas
1d53af842d
Add hex1.hex0.
2022-08-09 20:04:52 +01:00
Andrius Štikonas
fc79b4a153
Add kaem-optional M1 and hex2 development prototypes.
2022-08-06 22:02:44 +01:00
Andrius Štikonas
9af7fdf9bb
kaem-minimal.S: make sure to close files and free pools when exiting.
2022-07-30 10:08:23 +01:00
Andrius Štikonas
54e0c80f9f
Fix remaining issues that prevented hex0 from running.
2022-07-24 13:09:34 +01:00
Andrius Štikonas
8e22fee483
Switch to relative addressing of labels.
2022-07-24 10:11:45 +01:00
Andrius Štikonas
05556bbb96
hex0.M1: Fix position of GUID_8 labels.
2022-07-23 21:26:24 +01:00
Andrius Štikonas
fe381538f9
Fix copy-paste typo in POP_RAX define.
2022-07-23 20:29:41 +01:00
Andrius Štikonas
a8e0dd50a2
Make sure we use 64-bit pointers for stack address.
2022-07-23 20:14:45 +01:00
Andrius Štikonas
3317e845f5
Add hex0.M1.
2022-07-23 18:41:30 +01:00