Author: mkupfer
Date: Sun Jul 13 07:22:13 2008
New Revision: 34458
URL: http://svn.reactos.org/svn/reactos?rev=34458&view=rev
Log:
- minor changes to prepare inf-files for trunk
- minor fix in README
Modified:
branches/matthias-i18n/media/inf/README
branches/matthias-i18n/media/inf/hdc.inf
branches/matthias-i18n/media/inf/machine.inf
Modified: branches/matthias-i18n/media/inf/README
URL: http://svn.reactos.org/svn/reactos/branches/matthias-i18n/media/inf/README?…
==============================================================================
--- branches/matthias-i18n/media/inf/README [iso-8859-1] (original)
+++ branches/matthias-i18n/media/inf/README [iso-8859-1] Sun Jul 13 07:22:13 2008
@@ -50,4 +50,4 @@
We can translate the programm files and perhaps the registry entries in the
described above. But how to handle files/directories with translatabel names?
If we intend to have a (native) language for each user, so the directory
-structure may become confusing and hard to handle correctly.
+structure may become confusing and may be hard to handle correctly.
Modified: branches/matthias-i18n/media/inf/hdc.inf
URL: http://svn.reactos.org/svn/reactos/branches/matthias-i18n/media/inf/hdc.inf…
==============================================================================
--- branches/matthias-i18n/media/inf/hdc.inf [iso-8859-1] (original)
+++ branches/matthias-i18n/media/inf/hdc.inf [iso-8859-1] Sun Jul 13 07:22:13 2008
@@ -81,7 +81,7 @@
-
+
Modified: branches/matthias-i18n/media/inf/machine.inf
URL: http://svn.reactos.org/svn/reactos/branches/matthias-i18n/media/inf/machine…
==============================================================================
--- branches/matthias-i18n/media/inf/machine.inf [iso-8859-1] (original)
+++ branches/matthias-i18n/media/inf/machine.inf [iso-8859-1] Sun Jul 13 07:22:13 2008
@@ -153,8 +153,6 @@
-
-
@@ -163,23 +161,12 @@
-
-
-
-
-
-
-
-
-
-
-
Author: ros-arm-bringup
Date: Sun Jul 13 03:28:05 2008
New Revision: 34455
URL: http://svn.reactos.org/svn/reactos?rev=34455&view=rev
Log:
- Does now fire off a DPC when quantum has ended this works good now after have the major trap fixes been done earlier.
Modified:
trunk/reactos/ntoskrnl/ke/arm/time.c
Modified: trunk/reactos/ntoskrnl/ke/arm/time.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/time.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/time.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/time.c [iso-8859-1] Sun Jul 13 03:28:05 2008
@@ -290,6 +290,6 @@
// Schedule a quantum end
//
Prcb->QuantumEnd = 1;
- //HalRequestSoftwareInterrupt(DISPATCH_LEVEL);
+ HalRequestSoftwareInterrupt(DISPATCH_LEVEL);
}
}
Author: ros-arm-bringup
Date: Sun Jul 13 03:20:02 2008
New Revision: 34454
URL: http://svn.reactos.org/svn/reactos?rev=34454&view=rev
Log:
- Make sure this is XIP (Execute in Place) boot and not ramdisk boot before warning the user. Silences an incorrect debug print during ramdisk boot.
Modified:
trunk/reactos/ntoskrnl/ex/xipdisp.c
Modified: trunk/reactos/ntoskrnl/ex/xipdisp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/xipdisp.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/xipdisp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/xipdisp.c [iso-8859-1] Sun Jul 13 03:20:02 2008
@@ -42,7 +42,7 @@
NTAPI
XIPInit(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
{
- PCHAR CommandLine, XipBoot, XipRom, XipMegs, XipVerbose;
+ PCHAR CommandLine, XipBoot, XipRom, XipMegs, XipVerbose, XipRam;
PMEMORY_ALLOCATION_DESCRIPTOR XipDescriptor;
/* Get the command line */
@@ -51,6 +51,7 @@
/* Get XIP settings */
XipBoot = strstr(CommandLine, "XIPBOOT");
+ XipRam = strstr(CommandLine, "XIPRAM=");
XipRom = strstr(CommandLine, "XIPROM=");
XipMegs = strstr(CommandLine, "XIPMEGS=");
XipVerbose = strstr(CommandLine, "XIPVERBOSE");
@@ -69,6 +70,12 @@
/* Find the XIP memory descriptor */
XipDescriptor = XIPpFindMemoryDescriptor(LoaderBlock);
if (!XipDescriptor) return;
+
+ //
+ // Make sure this is really XIP, and not RAM Disk -- also validate XIP
+ // Basically, either this is a ROM boot or a RAM boot, but not both nor none
+ //
+ if (!((ULONG_PTR)XipRom ^ (ULONG_PTR)XipRam)) return;
/* FIXME: TODO */
DPRINT1("ReactOS does not yet support eXecute In Place boot technology\n");
Author: ros-arm-bringup
Date: Sun Jul 13 02:16:24 2008
New Revision: 34451
URL: http://svn.reactos.org/svn/reactos?rev=34451&view=rev
Log:
- Remove incorrect check in RamdiskPnp -- we should only early-quit if the device is removed, not uninitialized, otherwise we'll never get initialized.
- Add support for IRP_MN_SURPRISE_REMOVAL.
- Handle IRP_MN_QUERY_ID for FDO (it is the first IRP we receive).
- Handle IRP completion for FDOs and forward if necessary.
Modified:
trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
Modified: trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/ramd…
==============================================================================
--- trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] Sun Jul 13 02:16:24 2008
@@ -36,8 +36,10 @@
{
RamdiskStateUninitialized,
RamdiskStateStarted,
+ RamdiskStatePaused,
RamdiskStateStopped,
- RamdiskStateRemoved
+ RamdiskStateRemoved,
+ RamdiskStateBusRemoved,
} RAMDISK_DEVICE_STATE;
DEFINE_GUID(RamdiskBusInterface,
@@ -281,9 +283,9 @@
Minor = IoStackLocation->MinorFunction;
//
- // Check if the device is initialized
- //
- if (DeviceExtension->State == RamdiskStateUninitialized)
+ // Check if the bus is removed
+ //
+ if (DeviceExtension->State == RamdiskStateBusRemoved)
{
//
// Only remove-device and query-id are allowed
@@ -361,11 +363,23 @@
DPRINT1("PnP IRP: %lx\n", Minor);
while (TRUE);
break;
+
+ case IRP_MN_SURPRISE_REMOVAL:
+
+ DPRINT1("PnP IRP: %lx\n", Minor);
+ while (TRUE);
+ break;
case IRP_MN_QUERY_ID:
- DPRINT1("PnP IRP: %lx\n", Minor);
- while (TRUE);
+ //
+ // Are we a PDO?
+ //
+ if (DeviceExtension->Type == RamdiskPdo)
+ {
+ DPRINT1("PnP IRP: %lx\n", Minor);
+ while (TRUE);
+ }
break;
case IRP_MN_QUERY_BUS_INFORMATION:
@@ -405,10 +419,27 @@
}
//
+ // Are we an FDO?
+ //
+ if (DeviceExtension->Type == RamdiskFdo)
+ {
+ //
+ // Do we have an attached device?
+ //
+ if (DeviceExtension->AttachedDevice)
+ {
+ //
+ // Forward the IRP
+ //
+ IoSkipCurrentIrpStackLocation(Irp);
+ Status = IoCallDriver(DeviceExtension->AttachedDevice, Irp);
+ }
+ }
+
+ //
// Release the lock and return status
//
IoReleaseRemoveLock(&DeviceExtension->RemoveLock, Irp);
- while (TRUE);
return Status;
}