Skip to content

Commit 6b0ac35

Browse files
committed
[HALx86] Fix annotations for x86BiosAllocateBuffer
1 parent 20eee6d commit 6b0ac35

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

hal/halx86/generic/x86bios.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ HalInitializeBios(
149149
NTSTATUS
150150
NTAPI
151151
x86BiosAllocateBuffer(
152-
_In_ ULONG *Size,
153-
_In_ USHORT *Segment,
154-
_In_ USHORT *Offset)
152+
_Inout_ ULONG *Size,
153+
_Out_ USHORT *Segment,
154+
_Out_ USHORT *Offset)
155155
{
156156
/* Check if the system is initialized and the buffer is large enough */
157157
if (!x86BiosIsInitialized || (*Size > PAGE_SIZE))

sdk/include/ndk/halfuncs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ HalSetTimeIncrement(
318318
NTSTATUS
319319
NTAPI
320320
x86BiosAllocateBuffer(
321-
_In_ ULONG *Size,
322-
_In_ USHORT *Segment,
323-
_In_ USHORT *Offset);
321+
_Inout_ ULONG *Size,
322+
_Out_ USHORT *Segment,
323+
_Out_ USHORT *Offset);
324324

325325
NTSTATUS
326326
NTAPI

0 commit comments

Comments
 (0)