Commit Graph

885 Commits

Author SHA1 Message Date
bd6516cdf9 Reallocate memory when updating existing config entry via BlSetConfigValue() 2024-03-02 17:15:37 +01:00
01983ef677 Small fixes to configuration parser 2024-03-02 16:54:28 +01:00
d61fd4f9c7 Fix grim bug in PE/COFF image structures causing invalid data read from optional header 2024-03-02 00:56:38 +01:00
a57ae020fa Implement PeGetFileSize(), PeGetImageSize() and PeUnloadImage() routines 2024-03-01 23:12:12 +01:00
17c50ea912 Redesign a way of storing module information; this allows to store more data in a single section, like license or a list of authors, as well as solves the problem with different module name lengths 2024-02-28 23:28:33 +01:00
4b34f7db4b Update preprocessor macros 2024-02-28 23:11:45 +01:00
632bb30b64 Implement BlGetRandomValue() and BlInitializeEntropy() routines for future KASLR support 2024-02-26 23:06:44 +01:00
f9714a79e4 Add support for writing floating point values 2024-02-22 23:39:11 +01:00
0c7cf6f6d3 Implement RtlInfiniteDouble() and RtlNanDouble() routines 2024-02-21 19:55:16 +01:00
562b89e4d4 No parameters are expected, explicitly 2024-02-20 16:59:57 +01:00
4b2d8ded72 No parameters are expected, explicitly 2024-02-20 16:55:12 +01:00
c70d2e2afa Routines with no prototype cannot use XTAPI calling convention 2024-02-20 16:37:57 +01:00
83a976dd3a Implement RtlCopyString() and RtlCopyWideString() routines 2024-02-20 16:25:16 +01:00
015faa53a0 XTAPI calling convention is not supported on variadic routines 2024-02-20 16:21:28 +01:00
e409675f98 Always use RtlSetMemory() to fill a buffer with a specified pattern 2024-02-20 16:16:32 +01:00
477e56e294 Move RtlFillMemory() routine to ntosdrv driver 2024-02-20 16:08:10 +01:00
246968045a Use flags instead of dozen variables 2024-02-18 13:37:17 +01:00
2dd4048416 Switch GUID specifier to %v and %V, thus allowing to write string with both lower and uppercase 2024-02-17 22:52:49 +01:00
430557e08f Fix printing hard drive GUID 2024-02-16 23:05:24 +01:00
a70df7cbf8 Properly print status codes 2024-02-16 23:01:29 +01:00
70c66a5d70 Code formatting 2024-02-16 22:44:19 +01:00
789e9d64f4 Properly print PA & VA addresses 2024-02-16 22:40:36 +01:00
df627aeb42 Turn %p format compliant with POSIX, add %P XTOS extension to print pointers uppercase 2024-02-16 22:36:48 +01:00
98acc6f3d4 Use uppercase when printing status codes 2024-02-16 22:09:38 +01:00
6d66629124 Cleanup after switching to new way of printing formatted strings 2024-02-16 22:04:17 +01:00
c99bd73dfd Use uppercase when printing status codes 2024-02-16 22:03:00 +01:00
109fd094ea Fix NULL pointer 2024-02-16 19:05:53 +01:00
00cca9a1c1 Add %U XTOS extension for UUID/GUID string argument support 2024-02-16 19:02:44 +01:00
edd18b1dea Add %Z MSVC extension for ANSI/Unicode string argument support 2024-02-16 18:14:16 +01:00
a1ec5e410d Refactor RtlpWriteWideStringValue() and RtlpWriteWideStringStringValue() routines 2024-02-16 17:03:10 +01:00
8ddd6137da XTLDR console/debug print refactor 2024-02-16 15:09:18 +01:00
5de4d7a7f5 Use new string formatting mechanism in the boot loader 2024-02-15 23:32:23 +01:00
8dd0e70dd9 Implement printf-alike wide string formatting mechanism, currently without floating point numbers support 2024-02-15 23:01:13 +01:00
8a62a2b367 Switch calling convention to stdcall 2024-02-14 14:53:32 +01:00
7e23484252 Implement RtlReverseWideString(), RtlTrimLeftWideString(), RtlTrimRightWideString() and RtlTrimWideString() routines 2024-02-14 14:46:34 +01:00
d964e4b408 Implement RtlConcatenateString(), RtlReverseString() and RtlTokenizeString() routines 2024-02-14 14:38:28 +01:00
55fb9e2eb1 Implement RtlGetBaseExponent() routine for getting base(10) exponent of a given floating point value 2024-02-14 00:02:04 +01:00
c096c5d6df Add missing BITS_PER_BYTE definition 2024-02-13 16:58:30 +01:00
cca2e65376 Rework 64-bit division routines to support i686 architecture 2024-02-13 16:56:29 +01:00
a852993842 Add missing forward references to math related routines 2024-02-13 16:25:41 +01:00
99bdd917d9 Add basic kernel math support 2024-02-13 14:05:37 +01:00
07d30e06e6 Add VA_LIST pointer type 2024-02-11 18:40:52 +01:00
0c6a602253 Add 64bit double type 2024-02-11 18:39:44 +01:00
4e7b003606 Add print context structure definition 2024-02-10 00:19:43 +01:00
77bc796769 Implement HlClearApicErrors() and HlSendEoi() routines, change HlDisableLegacyPic() calling convention 2024-02-09 15:11:14 +01:00
73cd4bd4f2 Export runlevel related routines 2024-02-07 22:26:38 +01:00
0fc14f6f82 Export spinlock related routines 2024-02-07 22:19:34 +01:00
2d7309476a Describe kernel executive layer 2024-02-07 20:05:20 +01:00
881bfbbd4d Add missing routine description 2024-02-07 17:52:37 +01:00
18934ae79d NTOS compatibility layer moved to 3rd party driver 2024-02-07 17:50:01 +01:00