ReactOS  0.4.15-dev-1039-gb9754fa
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 
16 VOID
17 NTAPI
22 {
23  memset(Event, 0, sizeof(*Event));
24 }
25 
26 VOID
30 {
31 }
32 
33 VOID
37 {
38 }
39 
40 VOID
41 NTAPI
43  IN ULONG MaxIncrement,
44  IN ULONG MinIncrement)
45 {
46 }
47 
48 VOID
51  IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
52  IN PSTRING NtDeviceName,
53  OUT PUCHAR NtSystemPath,
54  OUT PSTRING NtSystemPathString)
55 {
56 }
57 
65 {
67 }
68 
69 /*
70  * NTSTATUS
71  * FASTCALL
72  * IoReadPartitionTable(
73  * IN PDEVICE_OBJECT DeviceObject,
74  * IN ULONG SectorSize,
75  * IN BOOLEAN ReturnRecognizedPartitions,
76  * OUT PDRIVE_LAYOUT_INFORMATION *PartitionBuffer);
77  *
78  * See boot/freeldr/freeldr/disk/partition.c
79  */
80 
89 {
91 }
92 
93 VOID
94 NTAPI
96  IN ULONG MicroSeconds)
97 {
98  StallExecutionProcessor(MicroSeconds);
99 }
#define IN
Definition: typedefs.h:39
VOID StallExecutionProcessor(ULONG Microseconds)
Definition: pchw.c:60
Type
Definition: Type.h:6
VOID FASTCALL IoAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString)
Definition: ntoskrnl.c:50
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
VOID NTAPI KeSetTimeIncrement(IN ULONG MaxIncrement, IN ULONG MinIncrement)
Definition: ntoskrnl.c:42
unsigned char * PUCHAR
Definition: retypes.h:3
LONG NTSTATUS
Definition: precomp.h:26
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
_In_ ULONG _In_ ULONG _In_ ULONG NumberOfHeads
Definition: iofuncs.h:2066
_In_ ULONG _In_ ULONG PartitionNumber
Definition: iofuncs.h:2056
#define FASTCALL
Definition: nt_native.h:50
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_In_ ULONG _In_ ULONG SectorsPerTrack
Definition: iofuncs.h:2066
VOID FASTCALL KiReleaseSpinLock(IN PKSPIN_LOCK SpinLock)
Definition: ntoskrnl.c:35
_In_ ULONG _In_ BOOLEAN _Out_ struct _DRIVE_LAYOUT_INFORMATION ** PartitionBuffer
Definition: iofuncs.h:2048
unsigned char BOOLEAN
enum _EVENT_TYPE EVENT_TYPE
VOID NTAPI KeInitializeEvent(IN PRKEVENT Event, IN EVENT_TYPE Type, IN BOOLEAN State)
Definition: ntoskrnl.c:18
VOID FASTCALL KiAcquireSpinLock(IN PKSPIN_LOCK SpinLock)
Definition: ntoskrnl.c:28
_In_ PDEVICE_OBJECT DeviceObject
Definition: iotypes.h:2464
#define OUT
Definition: typedefs.h:40
NTSTATUS FASTCALL IoSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG PartitionNumber, IN ULONG PartitionType)
Definition: ntoskrnl.c:60
CHAR PartitionType
Definition: part_xbox.c:32
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS FASTCALL IoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer)
Definition: ntoskrnl.c:83
_In_ ULONG SectorSize
Definition: halfuncs.h:291
#define memset(x, y, z)
Definition: compat.h:39
VOID NTAPI KeStallExecutionProcessor(IN ULONG MicroSeconds)
Definition: ntoskrnl.c:95