Author: ion
Date: Mon Oct 23 21:53:25 2006
New Revision: 24627
URL:
http://svn.reactos.org/svn/reactos?rev=24627&view=rev
Log:
- Define EFI_DRIVER_ENTRY.
- Add NtAddDriverEntry, NtDeleteDriverEntry, NtEnumerateDriverEntries, NtModifyBootEntry,
NtModifyDriverEntry, NtQueryDriverEntryOrder, NtSetDriverEntryOrder.
- These are for EFI (or pseudo-EFI if we ever emulate Vista).
Modified:
trunk/reactos/include/ndk/iotypes.h
trunk/reactos/ntoskrnl/ex/efi.c
Modified: trunk/reactos/include/ndk/iotypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/iotypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/iotypes.h (original)
+++ trunk/reactos/include/ndk/iotypes.h Mon Oct 23 21:53:25 2006
@@ -1117,6 +1117,19 @@
} BOOT_ENTRY, *PBOOT_ENTRY;
//
+// Firmware Driver Entry
+//
+typedef struct _EFI_DRIVER_ENTRY
+{
+ ULONG Version;
+ ULONG Length;
+ ULONG Id;
+ ULONG Attributes;
+ ULONG FriendlyNameOffset;
+ ULONG DriverFilePathOffset;
+} EFI_DRIVER_ENTRY, *PEFI_DRIVER_ENTRY;
+
+//
// APC Callback for NtCreateFile
//
typedef VOID
Modified: trunk/reactos/ntoskrnl/ex/efi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/efi.c?rev=2462…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/efi.c (original)
+++ trunk/reactos/ntoskrnl/ex/efi.c Mon Oct 23 21:53:25 2006
@@ -25,7 +25,25 @@
NTSTATUS
NTAPI
+NtAddDriverEntry(IN PEFI_DRIVER_ENTRY Entry,
+ IN ULONG Id)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+
+NTSTATUS
+NTAPI
NtDeleteBootEntry(IN ULONG Id)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+NtDeleteDriverEntry(IN ULONG Id)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
@@ -42,8 +60,42 @@
NTSTATUS
NTAPI
+NtEnumerateDriverEntries(IN PVOID Buffer,
+ IN PULONG BufferLength)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+NtModifyBootEntry(IN PBOOT_ENTRY BootEntry)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+NtModifyDriverEntry(IN PEFI_DRIVER_ENTRY DriverEntry)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
NtQueryBootEntryOrder(IN PULONG Ids,
IN PULONG Count)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+NtQueryDriverEntryOrder(IN PULONG Ids,
+ IN PULONG Count)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
@@ -62,6 +114,15 @@
NTAPI
NtSetBootEntryOrder(IN PULONG Ids,
IN PULONG Count)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+NTSTATUS
+NTAPI
+NtSetDriverEntryOrder(IN PULONG Ids,
+ IN PULONG Count)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;