ReactOS 0.4.15-dev-8413-gc1c91f2
ntoskrnl.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: boot/freeldr/freeldr/arch/i386/ntoskrnl.c
5 * PURPOSE: NTOS glue routines for the MINIHAL library
6 * PROGRAMMERS: Hervé Poussineau <hpoussin@reactos.org>
7 */
8
9/* INCLUDES ******************************************************************/
10
11#include <freeldr.h>
12#include <ntoskrnl.h>
13
14/* FUNCTIONS *****************************************************************/
15
16VOID
22{
23 RtlZeroMemory(Event, sizeof(*Event));
24}
25
26VOID
29 IN ULONG MaxIncrement,
30 IN ULONG MinIncrement)
31{
32}
33
34VOID
37 IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
38 IN PSTRING NtDeviceName,
39 OUT PUCHAR NtSystemPath,
40 OUT PSTRING NtSystemPathString)
41{
42}
43
51{
53}
54
55/*
56 * NTSTATUS
57 * FASTCALL
58 * IoReadPartitionTable(
59 * IN PDEVICE_OBJECT DeviceObject,
60 * IN ULONG SectorSize,
61 * IN BOOLEAN ReturnRecognizedPartitions,
62 * OUT PDRIVE_LAYOUT_INFORMATION *PartitionBuffer);
63 *
64 * See boot/freeldr/freeldr/disk/partition.c
65 */
66
75{
77}
78
79VOID
82 IN ULONG MicroSeconds)
83{
84 StallExecutionProcessor(MicroSeconds);
85}
unsigned char BOOLEAN
Type
Definition: Type.h:7
LONG NTSTATUS
Definition: precomp.h:26
VOID NTAPI KeSetTimeIncrement(IN ULONG MaxIncrement, IN ULONG MinIncrement)
Definition: ntoskrnl.c:28
VOID FASTCALL IoAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString)
Definition: ntoskrnl.c:36
NTSTATUS FASTCALL IoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer)
Definition: ntoskrnl.c:69
VOID NTAPI KeStallExecutionProcessor(IN ULONG MicroSeconds)
Definition: ntoskrnl.c:81
NTSTATUS FASTCALL IoSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType)
Definition: ntoskrnl.c:46
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477
#define FASTCALL
Definition: nt_native.h:50
enum _EVENT_TYPE EVENT_TYPE
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
CHAR PartitionType
Definition: part_xbox.c:32
VOID StallExecutionProcessor(ULONG Microseconds)
Definition: pchw.c:60
#define NTAPI
Definition: typedefs.h:36
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
#define IN
Definition: typedefs.h:39
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_In_ ULONG SectorSize
Definition: halfuncs.h:291
_In_ ULONG _In_ ULONG _In_ ULONG NumberOfHeads
Definition: iofuncs.h:2072
_In_ ULONG _In_ ULONG SectorsPerTrack
Definition: iofuncs.h:2071
_In_ ULONG _In_ BOOLEAN _Out_ struct _DRIVE_LAYOUT_INFORMATION ** PartitionBuffer
Definition: iofuncs.h:2052
_In_ ULONG _In_ ULONG PartitionNumber
Definition: iofuncs.h:2061