- Allow file debug prints to happen at IRQL > DISPATCH_LEVEL, but don't
queue a work item until we are at <= DISPATCH. Fixes /DEBUGPORT=FILE
freeze/crash/bug.
Modified: trunk/reactos/ntoskrnl/kd/kdio.c
_____
Modified: trunk/reactos/ntoskrnl/kd/kdio.c
--- trunk/reactos/ntoskrnl/kd/kdio.c 2005-07-26 14:00:45 UTC (rev
16744)
+++ trunk/reactos/ntoskrnl/kd/kdio.c 2005-07-26 15:15:18 UTC (rev
16745)
@@ -71,9 +71,17 @@
/* Make sure we are initialized and can queue */
if (!KdpLogInitialized || (ItemQueued)) return;
- /* Queue the work item */
- ExQueueWorkItem(&KdpDebugLogQueue, HyperCriticalWorkQueue);
- ItemQueued = TRUE;
+ /*
+ * Queue the work item
+ * Note that we don't want to queue if we are > DISPATCH_LEVEL...
+ * The message is in the buffer and will simply be taken care of at
+ * the next time we are at <= DISPATCH, so it won't be lost.
+ */
+ if (KeGetCurrentIrql() <= DISPATCH_LEVEL)
+ {
+ ExQueueWorkItem(&KdpDebugLogQueue, HyperCriticalWorkQueue);
+ ItemQueued = TRUE;
+ }
}
VOID
update the En.rc for del by Brandon Turner and me
Modified: trunk/reactos/subsys/system/cmd/En.rc
_____
Modified: trunk/reactos/subsys/system/cmd/En.rc
--- trunk/reactos/subsys/system/cmd/En.rc 2005-07-26 13:15:50 UTC
(rev 16739)
+++ trunk/reactos/subsys/system/cmd/En.rc 2005-07-26 13:24:44 UTC
(rev 16740)
@@ -138,9 +138,9 @@
a prompt for a new one. Press ENTER to keep the same date.\n"
STRING_DEL_HELP1, "Deletes one or more files.\n\n\
-DEL [/N /P /T /Q /W /Y /Z /A[[:]attributes]] file ...\n\
-DELETE [/N /P /T /Q /W /Y /Z /A[[:]attributes]] file ...\n\
-ERASE [/N /P /T /Q /W /Y /Z /A[[:]attributes]] file ...\n\n\
+DEL [/N /P /T /Q /S /W /Y /Z /A[[:]attributes]] file ...\n\
+DELETE [/N /P /T /Q /S /W /Y /Z /A[[:]attributes]] file ...\n\
+ERASE [/N /P /T /Q /S /W /Y /Z /A[[:]attributes]] file ...\n\n\
file Specifies the file(s) to delete.\n\n\
/N Nothing.\n\
/P Prompt. Ask before deleting each file.\n\
@@ -148,7 +148,8 @@
/Q Quiet.\n\
/W Wipe. Overwrite the file with random numbers before deleting
it.\n\
/Y Yes. Kill even *.* without asking.\n\
- /Z Zap. Delete hidden, read-only and system files.\n\
+ /F Force Delete hidden, read-only and system files.\n\
+ /S Delete file from all sub directory\n\
/A Select files to be deleted based on attributes.\n\
attributes\n\
R Read Only files\n\