Commit Graph

1030 Commits

Author SHA1 Message Date
252eb5c825 Export RtlWideStringConcatenate() and RtlWideStringLength() routines 2022-09-26 23:01:17 +02:00
dd0c86003d Set correct calling convention for RtlWideStringCompare() and RtlWideStringTokenize() routines 2022-09-26 22:54:21 +02:00
a0f359bcf7 Implement RtlWideStringConcatenate() routine 2022-09-26 17:26:00 +02:00
c7f53e193a Implement RtlWideStringLength() routine 2022-09-26 16:53:58 +02:00
58847c2fea Implement BlCloseVolume() and BlOpenVolume() routines 2022-09-18 18:56:39 +02:00
5fe22b5d6c Fix build by setting project name first 2022-09-17 00:22:45 +02:00
109c24f389 Initial support for xtldr modules and bootloader protocol 2022-09-17 00:14:09 +02:00
33ff15e1db Add EFI XT protocols GUIDs 2022-09-06 17:55:07 +02:00
41f1aee6e3 Implemented RtlCompareMemory() for better compatibility with NT and made use of it in RtlSameMemory(), implemented RtlFillMemory(), RtlMoveMemory(), RtlSetMemory() and RtlZeroMemory() as well 2022-09-06 17:51:44 +02:00
d56b10f252 Various fixes to the existing routines:
* Export RtlWideStringTokenize()
 * Allow to compare whole strings in RtlWideStringCompare() when no length specified
 * RtlSameMemory() returns boolean now
 * Source bytes can be constant value in RtlCopyMemory()
2022-09-05 15:17:12 +02:00
8a91412ec4 Export existing kernel routines 2022-09-01 22:05:35 +02:00
033447f759 Calling convention goes first 2022-09-01 22:04:07 +02:00
a7d07e7ecb Integrate xtklib with the kernel 2022-08-30 23:23:02 +02:00
6ef36cbd26 Add macros for defining signatures built from ASCII characters 2022-08-30 21:56:55 +02:00
94273292c5 Correct typo in README 2022-08-22 20:18:48 +02:00
f03b79ee2f Implement BlGetVolumeDevicePath() and BlpDissectVolumeArcPath() 2022-08-22 20:09:50 +02:00
6d135ce209 Define system-wide GUID structure 2022-08-22 18:31:04 +02:00
d9b60aaa11 Add missing IN/OUT modifiers to routine declarations 2022-08-22 18:24:15 +02:00
756763d8ca Discover and enumerate EFI block devices 2022-08-21 19:44:49 +02:00
510bd8dc99 Add missing comments 2022-08-21 17:28:14 +02:00
d369a5e163 Implement BlEfiMemoryAllocatePool() and BlEfiMemoryFreePool() 2022-08-21 17:05:05 +02:00
e61108d9b5 Implement RtlCopyMemory() and RtlSameMemory(), no inline functions in static library 2022-08-21 16:27:57 +02:00
18d5a6d794 Insert new lines in every debug message 2022-08-19 23:46:08 +02:00
8a23f6ba0e Unify capsule naming convensions and add EFI_BLOCK_DEVICE_DATA structure 2022-08-19 23:42:04 +02:00
a17c4f2435 Add VSCode workspace 2022-08-17 19:19:57 +02:00
14fafa2517 Implement RtlInsertHeadList() and RtlInsertTailList() 2022-08-16 19:01:23 +02:00
ba8b9684ff Coding style 2022-08-16 18:57:49 +02:00
73f4538a62 Boolean cannot be used in EFI, because specification says it is of UINT8 (UCHAR), while XT specifies BOOLEAN as enumerated type 2022-08-16 11:38:24 +02:00
ea2de4d5a1 Add missing forward reference and missing fields to the EFI_BLOCK_DEVICE structure 2022-08-15 19:24:47 +02:00
72a235fb27 Add ramdisk device path id 2022-08-15 19:17:19 +02:00
780038901e Add missing device path types and block device structure 2022-08-15 19:09:14 +02:00
31ae4c248b Correct the Javadoc style 2022-08-14 11:22:54 +02:00
c0b5e2271e Correct typo 2022-08-13 23:17:26 +02:00
f67bc808cc Basic support for double linked lists 2022-08-13 23:15:06 +02:00
96871fd042 Correct data types 2022-08-13 17:24:22 +02:00
a6d892bf08 Initialize console without error reporting and allow serial port configuration to be passed via EFI shell 2022-08-13 13:25:29 +02:00
35b3c59270 Update source structure table 2022-08-13 13:21:36 +02:00
3f372f19e3 Implement RtlWideStringCompare() and RtlWideStringTokenize() routines 2022-08-13 13:18:52 +02:00
ba1efee47e Disable watchdog timer 2022-08-11 19:19:55 +02:00
5a56959333 Consider EFI as unsupported implementation when console initialization fails 2022-08-11 18:32:43 +02:00
e6aaa1a83c Mark serial port as fully initialized and always check that before printing anything to the serial console 2022-08-10 17:56:41 +02:00
a9171bd512 Enable wide string printing 2022-08-10 17:52:19 +02:00
075c85d0ff Add missing comments 2022-08-10 16:31:09 +02:00
a961ac1e69 Implement BlDbgPrint() for printing debug messages to the serial console and rename loader entry point 2022-08-09 22:27:15 +02:00
fa8fa99d6f Add XT status codes used by xtklib 2022-08-09 16:49:14 +02:00
319e4eaade Import XT kernel mode library 2022-08-09 16:44:30 +02:00
63d927cdb7 Clear default LDFLAGS 2022-08-09 16:12:47 +02:00
f403fbaaec Correct the target 2022-08-08 21:47:42 +02:00
3e4f0b8aff Add support for formatting and printing strings 2022-08-05 15:00:34 +02:00
93fde419a3 Import Open Virtual Machine Firmware (OVMF) 2022-08-05 14:52:48 +02:00