mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[BOOT] Spelling fixes by Josh Soref. CORE-12286
svn path=/trunk/; revision=73215
This commit is contained in:
parent
aca585d81e
commit
1072717a60
|
@ -1,6 +1,6 @@
|
||||||
@echo off
|
@echo off
|
||||||
ECHO
|
ECHO
|
||||||
ECHO Installing Programms...
|
ECHO Installing Programs...
|
||||||
ECHO
|
ECHO
|
||||||
|
|
||||||
REM ECHO
|
REM ECHO
|
||||||
|
|
|
@ -1551,7 +1551,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\lanmanserver\Parameters","ServiceDll",0x
|
||||||
|
|
||||||
; Workstation service
|
; Workstation service
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","DisplayName",0x00000000,"Workstation service"
|
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","DisplayName",0x00000000,"Workstation service"
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Description",0x00000000,"Responsible for creating and maintaning network connections to servers"
|
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Description",0x00000000,"Responsible for creating and maintaining network connections to servers"
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ErrorControl",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ErrorControl",0x00010001,0x00000001
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Group",0x00000000,"Network Provider"
|
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","Group",0x00000000,"Network Provider"
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k netsvcs"
|
HKLM,"SYSTEM\CurrentControlSet\Services\lanmanworkstation","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k netsvcs"
|
||||||
|
|
|
@ -274,7 +274,7 @@ BmpFwGetApplicationDirectoryPath (
|
||||||
AppPathLength - sizeof(UNICODE_NULL));
|
AppPathLength - sizeof(UNICODE_NULL));
|
||||||
PathCopy[AppPathLength] = UNICODE_NULL;
|
PathCopy[AppPathLength] = UNICODE_NULL;
|
||||||
|
|
||||||
/* Finally, initialize the outoing string */
|
/* Finally, initialize the outgoing string */
|
||||||
RtlInitUnicodeString(ApplicationDirectoryPath, PathCopy);
|
RtlInitUnicodeString(ApplicationDirectoryPath, PathCopy);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1088,7 +1088,7 @@ BmFwVerifySelfIntegrity (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
/* Check if we're booted by UEFI off the DVD directlry */
|
/* Check if we're booted by UEFI off the DVD directly */
|
||||||
if ((BlpBootDevice->DeviceType == LocalDevice) &&
|
if ((BlpBootDevice->DeviceType == LocalDevice) &&
|
||||||
(BlpBootDevice->Local.Type == CdRomDevice) &&
|
(BlpBootDevice->Local.Type == CdRomDevice) &&
|
||||||
(BlpApplicationFlags & BL_APPLICATION_FLAG_CONVERTED_FROM_EFI))
|
(BlpApplicationFlags & BL_APPLICATION_FLAG_CONVERTED_FROM_EFI))
|
||||||
|
@ -1729,7 +1729,7 @@ BmGetBootMenuPolicy (
|
||||||
return MenuPolicyLegacy;
|
return MenuPolicyLegacy;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Use the correct opetion ID */
|
/* Use the correct option ID */
|
||||||
OptionId = BcdResumeInteger_BootMenuPolicy;
|
OptionId = BcdResumeInteger_BootMenuPolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1783,7 +1783,7 @@ BmpProcessBootEntry (
|
||||||
/* If the legacy menu must be shown, or if we have a boot entry */
|
/* If the legacy menu must be shown, or if we have a boot entry */
|
||||||
if ((BmGetBootMenuPolicy(BootEntry) != MenuPolicyStandard) || (BootEntry))
|
if ((BmGetBootMenuPolicy(BootEntry) != MenuPolicyStandard) || (BootEntry))
|
||||||
{
|
{
|
||||||
/* Check if any key has been presseed */
|
/* Check if any key has been pressed */
|
||||||
BmDisplayGetBootMenuStatus(&MenuStatus);
|
BmDisplayGetBootMenuStatus(&MenuStatus);
|
||||||
if (MenuStatus.AnyKey)
|
if (MenuStatus.AnyKey)
|
||||||
{
|
{
|
||||||
|
@ -2383,22 +2383,22 @@ BmpTransferExecution (
|
||||||
}
|
}
|
||||||
else if (ReturnArgs.Flags & 4)
|
else if (ReturnArgs.Flags & 4)
|
||||||
{
|
{
|
||||||
/* Flag 4 -- unkown */
|
/* Flag 4 -- unknown */
|
||||||
*LaunchCode = 1;
|
*LaunchCode = 1;
|
||||||
}
|
}
|
||||||
else if (ReturnArgs.Flags & 8)
|
else if (ReturnArgs.Flags & 8)
|
||||||
{
|
{
|
||||||
/* Flag 5 -- unkown */
|
/* Flag 5 -- unknown */
|
||||||
*LaunchCode = 5;
|
*LaunchCode = 5;
|
||||||
}
|
}
|
||||||
else if (ReturnArgs.Flags & 0x10)
|
else if (ReturnArgs.Flags & 0x10)
|
||||||
{
|
{
|
||||||
/* Flag 6 -- unkown */
|
/* Flag 6 -- unknown */
|
||||||
*LaunchCode = 6;
|
*LaunchCode = 6;
|
||||||
}
|
}
|
||||||
else if (ReturnArgs.Flags & 0x20)
|
else if (ReturnArgs.Flags & 0x20)
|
||||||
{
|
{
|
||||||
/* Flag 7 -- unkown */
|
/* Flag 7 -- unknown */
|
||||||
*LaunchCode = 7;
|
*LaunchCode = 7;
|
||||||
}
|
}
|
||||||
else if (ReturnArgs.Flags & BL_RETURN_ARGUMENTS_NO_PAE_FLAG)
|
else if (ReturnArgs.Flags & BL_RETURN_ARGUMENTS_NO_PAE_FLAG)
|
||||||
|
@ -2558,7 +2558,7 @@ TryAgain:
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if boot was successfull, or cancelled and we're not doing WinRE */
|
/* Check if boot was successful, or cancelled and we're not doing WinRE */
|
||||||
if (((NT_SUCCESS(Status)) || (Status == STATUS_CANCELLED)) && !(DoRecovery))
|
if (((NT_SUCCESS(Status)) || (Status == STATUS_CANCELLED)) && !(DoRecovery))
|
||||||
{
|
{
|
||||||
return Status;
|
return Status;
|
||||||
|
@ -2898,7 +2898,7 @@ BmMain (
|
||||||
/* Write out the first XML tag */
|
/* Write out the first XML tag */
|
||||||
BlXmiWrite(L"<bootmgr/>");
|
BlXmiWrite(L"<bootmgr/>");
|
||||||
|
|
||||||
/* Check for factory resset */
|
/* Check for factory reset */
|
||||||
BlSecureBootCheckForFactoryReset();
|
BlSecureBootCheckForFactoryReset();
|
||||||
|
|
||||||
/* Load the revocation list */
|
/* Load the revocation list */
|
||||||
|
@ -2947,7 +2947,7 @@ BmMain (
|
||||||
&CustomActions);
|
&CustomActions);
|
||||||
if ((NT_SUCCESS(Status)) && (CustomActions))
|
if ((NT_SUCCESS(Status)) && (CustomActions))
|
||||||
{
|
{
|
||||||
/* We don't suppport this yet */
|
/* We don't support this yet */
|
||||||
EfiPrintf(L"Not implemented\r\n");
|
EfiPrintf(L"Not implemented\r\n");
|
||||||
Status = STATUS_NOT_IMPLEMENTED;
|
Status = STATUS_NOT_IMPLEMENTED;
|
||||||
goto Failure;
|
goto Failure;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#define BCD_APPLICATION_TYPE_STARTUPCOM 0x09
|
#define BCD_APPLICATION_TYPE_STARTUPCOM 0x09
|
||||||
|
|
||||||
#define BCD_OBJECT_TYPE_APPLICATION 0x01
|
#define BCD_OBJECT_TYPE_APPLICATION 0x01
|
||||||
#define BCD_OBJECT_TYPE_INHEREIT 0x02
|
#define BCD_OBJECT_TYPE_INHERIT 0x02
|
||||||
#define BCD_OBJECT_TYPE_DEVICE 0x03
|
#define BCD_OBJECT_TYPE_DEVICE 0x03
|
||||||
|
|
||||||
typedef enum BcdLibraryElementTypes
|
typedef enum BcdLibraryElementTypes
|
||||||
|
|
|
@ -96,7 +96,7 @@ EFI_STATUS
|
||||||
@retval EFI_WRITE_PROTECTED The device can not be written to.
|
@retval EFI_WRITE_PROTECTED The device can not be written to.
|
||||||
@retval EFI_DEVICE_ERROR The device reported an error while performing the write.
|
@retval EFI_DEVICE_ERROR The device reported an error while performing the write.
|
||||||
@retval EFI_NO_MEDIA There is no media in the device.
|
@retval EFI_NO_MEDIA There is no media in the device.
|
||||||
@retval EFI_MEDIA_CHNAGED The MediaId does not matched the current device.
|
@retval EFI_MEDIA_CHANGED The MediaId does not match the current device.
|
||||||
@retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block size of the device.
|
@retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block size of the device.
|
||||||
@retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,
|
@retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,
|
||||||
or the buffer is not on proper alignment.
|
or the buffer is not on proper alignment.
|
||||||
|
@ -118,7 +118,7 @@ EFI_STATUS
|
||||||
@param This Indicates a pointer to the calling context.
|
@param This Indicates a pointer to the calling context.
|
||||||
|
|
||||||
@retval EFI_SUCCESS All outstanding data was written to the device
|
@retval EFI_SUCCESS All outstanding data was written to the device
|
||||||
@retval EFI_DEVICE_ERROR The device reported an error while writting back the data
|
@retval EFI_DEVICE_ERROR The device reported an error while writing back the data
|
||||||
@retval EFI_NO_MEDIA There is no media in the device.
|
@retval EFI_NO_MEDIA There is no media in the device.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -133,7 +133,7 @@ EFI_STATUS
|
||||||
**/
|
**/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
///
|
///
|
||||||
/// The curent media Id. If the media changes, this value is changed.
|
/// The current media Id. If the media changes, this value is changed.
|
||||||
///
|
///
|
||||||
UINT32 MediaId;
|
UINT32 MediaId;
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ typedef struct {
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TRUE if there is a media currently present in the device;
|
/// TRUE if there is a media currently present in the device;
|
||||||
/// othersise, FALSE. THis field shows the media present status
|
/// otherwise, FALSE. THis field shows the media present status
|
||||||
/// as of the most recent ReadBlocks() or WriteBlocks() call.
|
/// as of the most recent ReadBlocks() or WriteBlocks() call.
|
||||||
///
|
///
|
||||||
BOOLEAN MediaPresent;
|
BOOLEAN MediaPresent;
|
||||||
|
|
|
@ -79,7 +79,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#pragma warning ( disable : 4057 )
|
#pragma warning ( disable : 4057 )
|
||||||
|
|
||||||
//
|
//
|
||||||
// ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
|
// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4127 )
|
#pragma warning ( disable : 4127 )
|
||||||
|
|
||||||
|
|
|
@ -146,10 +146,10 @@ typedef EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL SIMPLE_TEXT_OUTPUT_INTERFACE;
|
||||||
#define EFI_WIDE_ATTRIBUTE 0x80
|
#define EFI_WIDE_ATTRIBUTE 0x80
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reset the text output device hardware and optionaly run diagnostics
|
Reset the text output device hardware and optionally run diagnostics
|
||||||
|
|
||||||
@param This The protocol instance pointer.
|
@param This The protocol instance pointer.
|
||||||
@param ExtendedVerification Driver may perform more exhaustive verfication
|
@param ExtendedVerification Driver may perform more exhaustive verification
|
||||||
operation of the device during reset.
|
operation of the device during reset.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The text output device was reset.
|
@retval EFI_SUCCESS The text output device was reset.
|
||||||
|
@ -368,7 +368,7 @@ typedef struct {
|
||||||
///
|
///
|
||||||
INT32 CursorRow;
|
INT32 CursorRow;
|
||||||
///
|
///
|
||||||
/// The cursor is currently visbile or not.
|
/// The cursor is currently visible or not.
|
||||||
///
|
///
|
||||||
BOOLEAN CursorVisible;
|
BOOLEAN CursorVisible;
|
||||||
} EFI_SIMPLE_TEXT_OUTPUT_MODE;
|
} EFI_SIMPLE_TEXT_OUTPUT_MODE;
|
||||||
|
|
|
@ -817,7 +817,7 @@ image is successfully loaded.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Image was loaded into memory correctly.
|
@retval EFI_SUCCESS Image was loaded into memory correctly.
|
||||||
@retval EFI_NOT_FOUND Both SourceBuffer and DevicePath are NULL.
|
@retval EFI_NOT_FOUND Both SourceBuffer and DevicePath are NULL.
|
||||||
@retval EFI_INVALID_PARAMETER One or more parametes are invalid.
|
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
|
||||||
@retval EFI_UNSUPPORTED The image type is not supported.
|
@retval EFI_UNSUPPORTED The image type is not supported.
|
||||||
@retval EFI_OUT_OF_RESOURCES Image was not loaded due to insufficient resources.
|
@retval EFI_OUT_OF_RESOURCES Image was not loaded due to insufficient resources.
|
||||||
@retval EFI_LOAD_ERROR Image was not loaded because the image format was corrupt or not
|
@retval EFI_LOAD_ERROR Image was not loaded because the image format was corrupt or not
|
||||||
|
@ -969,7 +969,7 @@ typedef enum {
|
||||||
///
|
///
|
||||||
/// Used to induce a system-wide reset. This sets all circuitry within the
|
/// Used to induce a system-wide reset. This sets all circuitry within the
|
||||||
/// system to its initial state. This type of reset is asynchronous to system
|
/// system to its initial state. This type of reset is asynchronous to system
|
||||||
/// operation and operates withgout regard to cycle boundaries. EfiColdReset
|
/// operation and operates without regard to cycle boundaries. EfiColdReset
|
||||||
/// is tantamount to a system power cycle.
|
/// is tantamount to a system power cycle.
|
||||||
///
|
///
|
||||||
EfiResetCold,
|
EfiResetCold,
|
||||||
|
@ -1277,7 +1277,7 @@ protocol interface was returned in Interface.
|
||||||
@retval EFI_UNSUPPORTED Handle does not support Protocol.
|
@retval EFI_UNSUPPORTED Handle does not support Protocol.
|
||||||
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
|
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
|
||||||
@retval EFI_ACCESS_DENIED Required attributes can't be supported in current environment.
|
@retval EFI_ACCESS_DENIED Required attributes can't be supported in current environment.
|
||||||
@retval EFI_ALREADY_STARTED Item on the open list already has requierd attributes whose agent
|
@retval EFI_ALREADY_STARTED Item on the open list already has required attributes whose agent
|
||||||
handle is the same as AgentHandle.
|
handle is the same as AgentHandle.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -1637,13 +1637,13 @@ part of the reset process.
|
||||||
@param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules
|
@param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules
|
||||||
being passed into update capsule.
|
being passed into update capsule.
|
||||||
@param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in
|
@param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in
|
||||||
CaspuleHeaderArray.
|
CapsuleHeaderArray.
|
||||||
@param ScatterGatherList Physical pointer to a set of
|
@param ScatterGatherList Physical pointer to a set of
|
||||||
EFI_CAPSULE_BLOCK_DESCRIPTOR that describes the
|
EFI_CAPSULE_BLOCK_DESCRIPTOR that describes the
|
||||||
location in physical memory of a set of capsules.
|
location in physical memory of a set of capsules.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Valid capsule was passed. If
|
@retval EFI_SUCCESS Valid capsule was passed. If
|
||||||
CAPSULE_FLAGS_PERSIT_ACROSS_RESET is not set, the
|
CAPSULE_FLAGS_PERSIST_ACROSS_RESET is not set, the
|
||||||
capsule has been successfully processed by the firmware.
|
capsule has been successfully processed by the firmware.
|
||||||
@retval EFI_INVALID_PARAMETER CapsuleSize is NULL, or an incompatible set of flags were
|
@retval EFI_INVALID_PARAMETER CapsuleSize is NULL, or an incompatible set of flags were
|
||||||
set in the capsule header.
|
set in the capsule header.
|
||||||
|
@ -1667,8 +1667,8 @@ Returns if the capsule can be supported via UpdateCapsule().
|
||||||
@param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules
|
@param CapsuleHeaderArray Virtual pointer to an array of virtual pointers to the capsules
|
||||||
being passed into update capsule.
|
being passed into update capsule.
|
||||||
@param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in
|
@param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in
|
||||||
CaspuleHeaderArray.
|
CapsuleHeaderArray.
|
||||||
@param MaxiumCapsuleSize On output the maximum size that UpdateCapsule() can
|
@param MaximumCapsuleSize On output the maximum size that UpdateCapsule() can
|
||||||
support as an argument to UpdateCapsule() via
|
support as an argument to UpdateCapsule() via
|
||||||
CapsuleHeaderArray and ScatterGatherList.
|
CapsuleHeaderArray and ScatterGatherList.
|
||||||
@param ResetType Returns the type of reset required for the capsule update.
|
@param ResetType Returns the type of reset required for the capsule update.
|
||||||
|
|
|
@ -85,7 +85,7 @@ typedef union {
|
||||||
} EFI_UGA_PIXEL_UNION;
|
} EFI_UGA_PIXEL_UNION;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Enumration value for actions of Blt operations.
|
/// Enumeration value for actions of Blt operations.
|
||||||
///
|
///
|
||||||
typedef enum {
|
typedef enum {
|
||||||
EfiUgaVideoFill, ///< Write data from the BltBuffer pixel (SourceX, SourceY)
|
EfiUgaVideoFill, ///< Write data from the BltBuffer pixel (SourceX, SourceY)
|
||||||
|
@ -112,8 +112,8 @@ typedef enum {
|
||||||
///< (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height).
|
///< (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height).
|
||||||
///< The BltBuffer and Delta are not used in this mode.
|
///< The BltBuffer and Delta are not used in this mode.
|
||||||
|
|
||||||
EfiUgaBltMax ///< Maxmimum value for enumration value of Blt operation. If a Blt operation
|
EfiUgaBltMax ///< Maximum value for enumeration value of Blt operation. If a Blt operation
|
||||||
///< larger or equal to this enumration value, it is invalid.
|
///< larger or equal to this enumeration value, it is invalid.
|
||||||
} EFI_UGA_BLT_OPERATION;
|
} EFI_UGA_BLT_OPERATION;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -133,7 +133,7 @@ typedef enum {
|
||||||
|
|
||||||
@retval EFI_SUCCESS - The Blt operation completed.
|
@retval EFI_SUCCESS - The Blt operation completed.
|
||||||
@retval EFI_INVALID_PARAMETER - BltOperation is not valid.
|
@retval EFI_INVALID_PARAMETER - BltOperation is not valid.
|
||||||
@retval EFI_DEVICE_ERROR - A hardware error occured writting to the video buffer.
|
@retval EFI_DEVICE_ERROR - A hardware error occured writing to the video buffer.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
typedef
|
typedef
|
||||||
|
|
|
@ -118,7 +118,7 @@ EfiGetLeafNode (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This now contains the deepeest (leaf) node */
|
/* This now contains the deepest (leaf) node */
|
||||||
return DevicePath;
|
return DevicePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,7 +314,7 @@ EfiGetVariable (
|
||||||
*Attributes = LocalAttributes;
|
*Attributes = LocalAttributes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert the errot to an NTSTATUS and return it */
|
/* Convert the error to an NTSTATUS and return it */
|
||||||
Status = EfiGetNtStatusCode(EfiStatus);
|
Status = EfiGetNtStatusCode(EfiStatus);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -1724,7 +1724,7 @@ BlpFwInitialize (
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
EFI_KEY_TOGGLE_STATE KeyToggleState;
|
EFI_KEY_TOGGLE_STATE KeyToggleState;
|
||||||
|
|
||||||
/* Check if we have vaild firmware data */
|
/* Check if we have valid firmware data */
|
||||||
if (!(FirmwareData) || !(FirmwareData->Version))
|
if (!(FirmwareData) || !(FirmwareData->Version))
|
||||||
{
|
{
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
|
@ -600,7 +600,7 @@ BlockIoGetInformation (
|
||||||
_Out_ PBL_DEVICE_INFORMATION DeviceInformation
|
_Out_ PBL_DEVICE_INFORMATION DeviceInformation
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
/* Copy the device speciifc data into the block device information */
|
/* Copy the device specific data into the block device information */
|
||||||
RtlCopyMemory(&DeviceInformation->BlockDeviceInfo,
|
RtlCopyMemory(&DeviceInformation->BlockDeviceInfo,
|
||||||
DeviceEntry->DeviceSpecificData,
|
DeviceEntry->DeviceSpecificData,
|
||||||
sizeof(DeviceInformation->BlockDeviceInfo));
|
sizeof(DeviceInformation->BlockDeviceInfo));
|
||||||
|
@ -1002,7 +1002,7 @@ BlockIoEfiGetDeviceInformation (
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Iteratate twice -- once for the top level, once for the bottom */
|
/* Iterate twice -- once for the top level, once for the bottom */
|
||||||
for (i = 0, Found = FALSE; Found == FALSE && Protocol[i].Handle; i++)
|
for (i = 0, Found = FALSE; Found == FALSE && Protocol[i].Handle; i++)
|
||||||
{
|
{
|
||||||
/* Check what kind of leaf node device this is */
|
/* Check what kind of leaf node device this is */
|
||||||
|
@ -2237,7 +2237,7 @@ BlpDeviceOpen (
|
||||||
Status = STATUS_NOT_IMPLEMENTED;
|
Status = STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the device was opened successfuly */
|
/* Check if the device was opened successfully */
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DeviceOpened:
|
DeviceOpened:
|
||||||
|
|
|
@ -600,7 +600,7 @@ BlpDisplayInitialize (
|
||||||
Status = DsppInitialize(Flags);
|
Status = DsppInitialize(Flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return display initailziation state */
|
/* Return display initialization state */
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,7 @@ ConsoleEfiGopEnable (
|
||||||
}
|
}
|
||||||
else if (CurrentMode != GraphicsConsole->Mode)
|
else if (CurrentMode != GraphicsConsole->Mode)
|
||||||
{
|
{
|
||||||
/* We failed seomewhere, reset the mode and the OEM bitmap back */
|
/* We failed somewhere, reset the mode and the OEM bitmap back */
|
||||||
EfiGopSetMode(Protocol, CurrentMode);
|
EfiGopSetMode(Protocol, CurrentMode);
|
||||||
BlDisplayInvalidateOemBitmap();
|
BlDisplayInvalidateOemBitmap();
|
||||||
}
|
}
|
||||||
|
|
|
@ -358,7 +358,7 @@ ConsoleEfiTextFindModeFromAllowed (
|
||||||
&HRes,
|
&HRes,
|
||||||
&VRes)))
|
&VRes)))
|
||||||
{
|
{
|
||||||
/* This mode was succesfully queried. Save the data */
|
/* This mode was successfully queried. Save the data */
|
||||||
EfiPrintf(L"EFI Firmware Supported Mode %d is H: %d V: %d\r\n", Mode, HRes, VRes);
|
EfiPrintf(L"EFI Firmware Supported Mode %d is H: %d V: %d\r\n", Mode, HRes, VRes);
|
||||||
ModeEntry->HRes = HRes;
|
ModeEntry->HRes = HRes;
|
||||||
ModeEntry->VRes = VRes;
|
ModeEntry->VRes = VRes;
|
||||||
|
@ -600,7 +600,7 @@ ConsoleFirmwareTextClear (
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clear the scren */
|
/* Clear the screen */
|
||||||
EfiStatus = Console->Protocol->ClearScreen(Console->Protocol);
|
EfiStatus = Console->Protocol->ClearScreen(Console->Protocol);
|
||||||
|
|
||||||
/* Switch back to protected mode if we came from there */
|
/* Switch back to protected mode if we came from there */
|
||||||
|
|
|
@ -127,7 +127,7 @@ ConsolepClearBuffer (
|
||||||
/* And the size of line we'll have to clear */
|
/* And the size of line we'll have to clear */
|
||||||
WidthBytes = Width * BytesPerPixel;
|
WidthBytes = Width * BytesPerPixel;
|
||||||
|
|
||||||
/* Allocat a scanline */
|
/* Allocate a scanline */
|
||||||
Scanline = BlMmAllocateHeap(WidthBytes);
|
Scanline = BlMmAllocateHeap(WidthBytes);
|
||||||
if (Scanline)
|
if (Scanline)
|
||||||
{
|
{
|
||||||
|
|
|
@ -635,7 +635,7 @@ EtfsOpen (
|
||||||
NewFile->Flags |= BL_FILE_ENTRY_DIRECTORY;
|
NewFile->Flags |= BL_FILE_ENTRY_DIRECTORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Write down the name of the filesytem */
|
/* Write down the name of the filesystem */
|
||||||
EtfsFile->FsName = L"cdfs";
|
EtfsFile->FsName = L"cdfs";
|
||||||
|
|
||||||
/* All done, return the file entry, and save the ETFS side */
|
/* All done, return the file entry, and save the ETFS side */
|
||||||
|
|
|
@ -212,7 +212,7 @@ FileTablePurgeEntry (
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Purge the entry othwrwise */
|
/* Purge the entry otherwise */
|
||||||
return FileTableDestroyEntry(FileEntry, FileEntry->FileId);
|
return FileTableDestroyEntry(FileEntry, FileEntry->FileId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1028,7 +1028,7 @@ BiEnumerateElements (
|
||||||
else if ((Flags & BCD_ENUMERATE_FLAG_DEEP) &&
|
else if ((Flags & BCD_ENUMERATE_FLAG_DEEP) &&
|
||||||
(ElementType.PackedValue == BcdLibraryObjectList_InheritedObjects))
|
(ElementType.PackedValue == BcdLibraryObjectList_InheritedObjects))
|
||||||
{
|
{
|
||||||
/* Inherited objects are requsted, so allocate a buffer for them */
|
/* Inherited objects are requested, so allocate a buffer for them */
|
||||||
SubObjectList = BlMmAllocateHeap(ElementDataLength);
|
SubObjectList = BlMmAllocateHeap(ElementDataLength);
|
||||||
if (!SubObjectList)
|
if (!SubObjectList)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1186,7 +1186,7 @@ Quickie:
|
||||||
//MmPapFreePages(HashBuffer, TRUE);
|
//MmPapFreePages(HashBuffer, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we have a certificate diretory */
|
/* Check if we have a certificate directory */
|
||||||
if ((CertBuffer) && (CertDirectory))
|
if ((CertBuffer) && (CertDirectory))
|
||||||
{
|
{
|
||||||
/* Free it */
|
/* Free it */
|
||||||
|
|
|
@ -221,7 +221,7 @@ BlUtlInitialize (
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
BmUpdateProgressInfo (
|
BmUpdateProgressInfo (
|
||||||
_In_ PVOID Uknown,
|
_In_ PVOID Unknown,
|
||||||
_In_ PWCHAR ProgressInfo
|
_In_ PWCHAR ProgressInfo
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -307,7 +307,7 @@ BlTblFindEntry (
|
||||||
Argument4);
|
Argument4);
|
||||||
if (Result)
|
if (Result)
|
||||||
{
|
{
|
||||||
/* Entry fouund return it */
|
/* Entry found return it */
|
||||||
*EntryIndex = Index;
|
*EntryIndex = Index;
|
||||||
Entry = Table[Index];
|
Entry = Table[Index];
|
||||||
break;
|
break;
|
||||||
|
@ -679,7 +679,7 @@ BlHtStore (
|
||||||
PLIST_ENTRY HashLinkHead;
|
PLIST_ENTRY HashLinkHead;
|
||||||
PBL_HASH_TABLE HashTable;
|
PBL_HASH_TABLE HashTable;
|
||||||
|
|
||||||
/* Check for invalid tablle ID, missing arguments, or malformed entry */
|
/* Check for invalid table ID, missing arguments, or malformed entry */
|
||||||
if ((HtTableSize <= TableId) ||
|
if ((HtTableSize <= TableId) ||
|
||||||
!(Entry) ||
|
!(Entry) ||
|
||||||
!(Data) ||
|
!(Data) ||
|
||||||
|
|
|
@ -185,7 +185,7 @@ MmBapFreeBlockAllocatorTableEntry (
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
MmBapPurgeBlockAlloctorTableEntry (
|
MmBapPurgeBlockAllocatorTableEntry (
|
||||||
_In_ PVOID Entry
|
_In_ PVOID Entry
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -248,7 +248,7 @@ BlpMmCreateBlockAllocator (
|
||||||
&MmBlockAllocatorTableEntries,
|
&MmBlockAllocatorTableEntries,
|
||||||
BlockInfo,
|
BlockInfo,
|
||||||
&BlockId,
|
&BlockId,
|
||||||
MmBapPurgeBlockAlloctorTableEntry);
|
MmBapPurgeBlockAllocatorTableEntry);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Add the initial reference and store the block ID */
|
/* Add the initial reference and store the block ID */
|
||||||
|
|
|
@ -44,19 +44,19 @@ MmMdpHasPrecedence (
|
||||||
BL_MEMORY_CLASS Class1, Class2;
|
BL_MEMORY_CLASS Class1, Class2;
|
||||||
ULONG i, j;
|
ULONG i, j;
|
||||||
|
|
||||||
/* Descriptor is free RAM -- it preceeds */
|
/* Descriptor is free RAM -- it precedes */
|
||||||
if (Type1 == BlConventionalMemory)
|
if (Type1 == BlConventionalMemory)
|
||||||
{
|
{
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* It isn't free RAM, but the comparator is -- it suceeds it */
|
/* It isn't free RAM, but the comparator is -- it succeeds it */
|
||||||
if (Type2 == BlConventionalMemory)
|
if (Type2 == BlConventionalMemory)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Descriptor is not system, application, or loader class -- it preceeds */
|
/* Descriptor is not system, application, or loader class -- it precedes */
|
||||||
Class1 = Type1 >> BL_MEMORY_CLASS_SHIFT;
|
Class1 = Type1 >> BL_MEMORY_CLASS_SHIFT;
|
||||||
if ((Class1 != BlSystemClass) &&
|
if ((Class1 != BlSystemClass) &&
|
||||||
(Class1 != BlApplicationClass) &&
|
(Class1 != BlApplicationClass) &&
|
||||||
|
@ -65,7 +65,7 @@ MmMdpHasPrecedence (
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* It isn't one of those classes, but the comparator it -- it suceeds it */
|
/* It isn't one of those classes, but the comparator it -- it succeeds it */
|
||||||
Class2 = Type2 >> BL_MEMORY_CLASS_SHIFT;
|
Class2 = Type2 >> BL_MEMORY_CLASS_SHIFT;
|
||||||
if ((Class2 != BlSystemClass) &&
|
if ((Class2 != BlSystemClass) &&
|
||||||
(Class2 != BlApplicationClass) &&
|
(Class2 != BlApplicationClass) &&
|
||||||
|
@ -124,23 +124,23 @@ MmMdpHasPrecedence (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The comparator isn't system, so it preceeds it */
|
/* The comparator isn't system, so it precedes it */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Descriptor is not system class, but comparator is -- it suceeds it */
|
/* Descriptor is not system class, but comparator is -- it succeeds it */
|
||||||
if (Class2 == BlSystemClass)
|
if (Class2 == BlSystemClass)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Descriptor is loader class -- it preceeds */
|
/* Descriptor is loader class -- it precedes */
|
||||||
if (Class1 == BlLoaderClass)
|
if (Class1 == BlLoaderClass)
|
||||||
{
|
{
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* It isn't loader class -- if the other guy is, suceed it */
|
/* It isn't loader class -- if the other guy is, succeed it */
|
||||||
return Class2 != BlLoaderClass;
|
return Class2 != BlLoaderClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -343,7 +343,7 @@ MmMdpCoalesceDescriptor (
|
||||||
((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) &&
|
((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) &&
|
||||||
(PreviousMappedEndPage == MemoryDescriptor->VirtualPage))))
|
(PreviousMappedEndPage == MemoryDescriptor->VirtualPage))))
|
||||||
{
|
{
|
||||||
EfiPrintf(L"Previous descriptor coalescible!\r\n");
|
EfiPrintf(L"Previous descriptor coalescable!\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CHeck if the current entry touches the next entry, and is compatible */
|
/* CHeck if the current entry touches the next entry, and is compatible */
|
||||||
|
@ -355,7 +355,7 @@ MmMdpCoalesceDescriptor (
|
||||||
((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) &&
|
((MemoryDescriptor->VirtualPage) && (PreviousDescriptor->VirtualPage) &&
|
||||||
(MappedEndPage == NextDescriptor->VirtualPage))))
|
(MappedEndPage == NextDescriptor->VirtualPage))))
|
||||||
{
|
{
|
||||||
EfiPrintf(L"Next descriptor coalescible!\r\n");
|
EfiPrintf(L"Next descriptor coalescable!\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Nothing to do */
|
/* Nothing to do */
|
||||||
|
|
|
@ -208,7 +208,7 @@ BlMmMapPhysicalAddressEx (
|
||||||
goto Quickie;
|
goto Quickie;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Compute the final adress where the mapping was made */
|
/* Compute the final address where the mapping was made */
|
||||||
MappedBase = (PVOID)((ULONG_PTR)MappingAddress +
|
MappedBase = (PVOID)((ULONG_PTR)MappingAddress +
|
||||||
PhysicalAddress.LowPart -
|
PhysicalAddress.LowPart -
|
||||||
MappedAddress.LowPart);
|
MappedAddress.LowPart);
|
||||||
|
@ -274,7 +274,7 @@ BlMmUnmapVirtualAddressEx (
|
||||||
/* Increment call depth */
|
/* Increment call depth */
|
||||||
++MmDescriptorCallTreeCount;
|
++MmDescriptorCallTreeCount;
|
||||||
|
|
||||||
/* Make sure all parameters are tehre */
|
/* Make sure all parameters are there */
|
||||||
if ((VirtualAddress) && (Size))
|
if ((VirtualAddress) && (Size))
|
||||||
{
|
{
|
||||||
/* Unmap the virtual address */
|
/* Unmap the virtual address */
|
||||||
|
|
|
@ -597,7 +597,7 @@ Ext2ReadEntireFileDone:
|
||||||
// ECX contains the max number of blocks to read
|
// ECX contains the max number of blocks to read
|
||||||
// EAX contains the number of blocks left to read
|
// EAX contains the number of blocks left to read
|
||||||
// On return:
|
// On return:
|
||||||
// EAX contians the new number of blocks left to read
|
// EAX contains the new number of blocks left to read
|
||||||
Ext2ReadDirectBlockList:
|
Ext2ReadDirectBlockList:
|
||||||
cmp eax,ecx // Compare it to the maximum number of blocks to read
|
cmp eax,ecx // Compare it to the maximum number of blocks to read
|
||||||
ja CallExt2ReadDirectBlocks // If it will take more blocks then just read all of the blocks
|
ja CallExt2ReadDirectBlocks // If it will take more blocks then just read all of the blocks
|
||||||
|
|
|
@ -584,7 +584,7 @@ Ext2ReadEntireFileDone:
|
||||||
; ECX contains the max number of blocks to read
|
; ECX contains the max number of blocks to read
|
||||||
; EAX contains the number of blocks left to read
|
; EAX contains the number of blocks left to read
|
||||||
; On return:
|
; On return:
|
||||||
; EAX contians the new number of blocks left to read
|
; EAX contains the new number of blocks left to read
|
||||||
Ext2ReadDirectBlockList:
|
Ext2ReadDirectBlockList:
|
||||||
cmp eax,ecx ; Compare it to the maximum number of blocks to read
|
cmp eax,ecx ; Compare it to the maximum number of blocks to read
|
||||||
ja CallExt2ReadDirectBlocks ; If it will take more blocks then just read all of the blocks
|
ja CallExt2ReadDirectBlocks ; If it will take more blocks then just read all of the blocks
|
||||||
|
|
|
@ -30,7 +30,7 @@ BOOL bLocalEcho = FALSE; // Tells us if local
|
||||||
HANDLE hCaptureFile; // Handle to the capture file
|
HANDLE hCaptureFile; // Handle to the capture file
|
||||||
DWORD dwThreadId = 0; // Thread id of RS232 communication thread
|
DWORD dwThreadId = 0; // Thread id of RS232 communication thread
|
||||||
|
|
||||||
// Foward declarations of functions included in this code module:
|
// Forward declarations of functions included in this code module:
|
||||||
ATOM MyRegisterClass(HINSTANCE hInstance);
|
ATOM MyRegisterClass(HINSTANCE hInstance);
|
||||||
BOOL InitInstance(HINSTANCE, int);
|
BOOL InitInstance(HINSTANCE, int);
|
||||||
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
|
@ -223,7 +223,7 @@ Changes in v1.7.7 (9/5/2002) (ekohl)
|
||||||
Changes in v1.7.6 (8/31/2002) (ekohl)
|
Changes in v1.7.6 (8/31/2002) (ekohl)
|
||||||
|
|
||||||
- bootsect/isoboot.asm: Reduced read transfer size to ensure that
|
- bootsect/isoboot.asm: Reduced read transfer size to ensure that
|
||||||
the read buffer for an int13/ah=42h (exended read) does not
|
the read buffer for an int13/ah=42h (extended read) does not
|
||||||
cross a segment boundary.
|
cross a segment boundary.
|
||||||
- freeldr.c, bootmgr.c, setupldr.c, makefile: Renamed
|
- freeldr.c, bootmgr.c, setupldr.c, makefile: Renamed
|
||||||
LoadBootManager() and ReactOSRunSetupLoader() to RunLoader().
|
LoadBootManager() and ReactOSRunSetupLoader() to RunLoader().
|
||||||
|
|
|
@ -66,7 +66,7 @@ VOID DiskStopFloppyMotor(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
FrLdrCheckCpuCompatiblity(VOID)
|
FrLdrCheckCpuCompatibility(VOID)
|
||||||
{
|
{
|
||||||
/* Nothing for now */
|
/* Nothing for now */
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,7 +296,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
|
||||||
/* The buffer starts after PartialResourceList->PartialDescriptors[0] */
|
/* The buffer starts after PartialResourceList->PartialDescriptors[0] */
|
||||||
Ptr = (char *)(PartialResourceList + 1);
|
Ptr = (char *)(PartialResourceList + 1);
|
||||||
|
|
||||||
/* Set instalation check data */
|
/* Set installation check data */
|
||||||
memcpy (Ptr, InstData, sizeof(CM_PNP_BIOS_INSTALLATION_CHECK));
|
memcpy (Ptr, InstData, sizeof(CM_PNP_BIOS_INSTALLATION_CHECK));
|
||||||
Ptr += sizeof(CM_PNP_BIOS_INSTALLATION_CHECK);
|
Ptr += sizeof(CM_PNP_BIOS_INSTALLATION_CHECK);
|
||||||
|
|
||||||
|
@ -1792,7 +1792,7 @@ PcHwIdle(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
FrLdrCheckCpuCompatiblity(VOID)
|
FrLdrCheckCpuCompatibility(VOID)
|
||||||
{
|
{
|
||||||
INT CpuInformation[4] = {-1};
|
INT CpuInformation[4] = {-1};
|
||||||
ULONG NumberOfIds;
|
ULONG NumberOfIds;
|
||||||
|
|
|
@ -146,7 +146,7 @@ TRAP_STUB _i386SimdFloatError, 19
|
||||||
* DEBUGGING SUPPORT FUNCTIONS
|
* DEBUGGING SUPPORT FUNCTIONS
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
MACRO(BREAKPOINT_TEPLATE, functionname, mask1, mask2)
|
MACRO(BREAKPOINT_TEMPLATE, functionname, mask1, mask2)
|
||||||
PUBLIC VAL(functionname)
|
PUBLIC VAL(functionname)
|
||||||
#ifdef _USE_ML
|
#ifdef _USE_ML
|
||||||
functionname:
|
functionname:
|
||||||
|
@ -164,17 +164,17 @@ MACRO(BREAKPOINT_TEPLATE, functionname, mask1, mask2)
|
||||||
ret
|
ret
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT1, HEX(0fff0ffff), HEX(000000303)
|
BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT1, HEX(0fff0ffff), HEX(000000303)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000030303)
|
BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000030303)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000010303)
|
BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT1, HEX(0fff0ffff), HEX(000010303)
|
||||||
BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT2, HEX(0ff0fffff), HEX(00000030c)
|
BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT2, HEX(0ff0fffff), HEX(00000030c)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00030030c)
|
BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00030030c)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00010030c)
|
BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT2, HEX(0ff0fffff), HEX(00010030c)
|
||||||
BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT3, HEX(0f0ffffff), HEX(000000330)
|
BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT3, HEX(0f0ffffff), HEX(000000330)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(003000330)
|
BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(003000330)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(001000330)
|
BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT3, HEX(0f0ffffff), HEX(001000330)
|
||||||
BREAKPOINT_TEPLATE _INSTRUCTION_BREAKPOINT4, HEX(00fffffff), HEX(0000003c0)
|
BREAKPOINT_TEMPLATE _INSTRUCTION_BREAKPOINT4, HEX(00fffffff), HEX(0000003c0)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_READWRITE_BREAKPOINT4, HEX(00fffffff), HEX(0300003c0)
|
BREAKPOINT_TEMPLATE _MEMORY_READWRITE_BREAKPOINT4, HEX(00fffffff), HEX(0300003c0)
|
||||||
BREAKPOINT_TEPLATE _MEMORY_WRITE_BREAKPOINT4, HEX(00fffffff), HEX(0100003c0)
|
BREAKPOINT_TEMPLATE _MEMORY_WRITE_BREAKPOINT4, HEX(00fffffff), HEX(0100003c0)
|
||||||
|
|
||||||
END
|
END
|
||||||
|
|
|
@ -352,7 +352,7 @@ PcVideoSetVerticalResolution(UCHAR VerticalResolutionMode)
|
||||||
* Return:
|
* Return:
|
||||||
* AL = 12h if function supported
|
* AL = 12h if function supported
|
||||||
*
|
*
|
||||||
* Specifiy the number of scan lines used to display text modes.
|
* Specify the number of scan lines used to display text modes.
|
||||||
*
|
*
|
||||||
* The specified resolution will take effect on the next mode set.
|
* The specified resolution will take effect on the next mode set.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -359,7 +359,7 @@ FrLdrGetKernelBase(VOID)
|
||||||
* FrLdrGetPaeMode
|
* FrLdrGetPaeMode
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
*
|
*
|
||||||
* Determines whether PAE mode shoudl be enabled or not.
|
* Determines whether PAE mode should be enabled or not.
|
||||||
*
|
*
|
||||||
* Params:
|
* Params:
|
||||||
* None.
|
* None.
|
||||||
|
@ -390,7 +390,7 @@ FrLdrGetPaeMode(VOID)
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
* Remarks:
|
* Remarks:
|
||||||
* We are setting PDEs, but using the equvivalent (for our purpose) PTE structure.
|
* We are setting PDEs, but using the equivalent (for our purpose) PTE structure.
|
||||||
* As such, please note that PageFrameNumber == PageEntryNumber.
|
* As such, please note that PageFrameNumber == PageEntryNumber.
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
|
|
|
@ -73,7 +73,7 @@ VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem)
|
||||||
|
|
||||||
if (BootType[0] == ANSI_NULL && SectionName[0] != ANSI_NULL)
|
if (BootType[0] == ANSI_NULL && SectionName[0] != ANSI_NULL)
|
||||||
{
|
{
|
||||||
/* Try to infere the boot type value */
|
/* Try to infer the boot type value */
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
ULONG FileId;
|
ULONG FileId;
|
||||||
if (ArcOpen((PSTR)SectionName, OpenReadOnly, &FileId) == ESUCCESS)
|
if (ArcOpen((PSTR)SectionName, OpenReadOnly, &FileId) == ESUCCESS)
|
||||||
|
|
4
reactos/boot/freeldr/freeldr/cache/cache.c
vendored
4
reactos/boot/freeldr/freeldr/cache/cache.c
vendored
|
@ -133,7 +133,7 @@ BOOLEAN CacheReadDiskSectors(UCHAR DiskNumber, ULONGLONG StartSector, ULONG Sect
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Caculate which blocks we must cache
|
// Calculate which blocks we must cache
|
||||||
//
|
//
|
||||||
StartBlock = (ULONG)(StartSector / CacheManagerDrive.BlockSize);
|
StartBlock = (ULONG)(StartSector / CacheManagerDrive.BlockSize);
|
||||||
SectorOffsetInStartBlock = (ULONG)(StartSector % CacheManagerDrive.BlockSize);
|
SectorOffsetInStartBlock = (ULONG)(StartSector % CacheManagerDrive.BlockSize);
|
||||||
|
@ -263,7 +263,7 @@ BOOLEAN CacheForceDiskSectorsIntoCache(UCHAR DiskNumber, ULONGLONG StartSector,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Caculate which blocks we must cache
|
// Calculate which blocks we must cache
|
||||||
//
|
//
|
||||||
StartBlock = StartSector / CacheManagerDrive.BlockSize;
|
StartBlock = StartSector / CacheManagerDrive.BlockSize;
|
||||||
EndBlock = (StartSector + SectorCount) / CacheManagerDrive.BlockSize;
|
EndBlock = (StartSector + SectorCount) / CacheManagerDrive.BlockSize;
|
||||||
|
|
|
@ -38,7 +38,7 @@ VOID __cdecl BootMain(IN PCCH CmdLine)
|
||||||
MachInit(CmdLine);
|
MachInit(CmdLine);
|
||||||
|
|
||||||
/* Check if the CPU is new enough */
|
/* Check if the CPU is new enough */
|
||||||
FrLdrCheckCpuCompatiblity(); // FIXME: Should be done inside MachInit!
|
FrLdrCheckCpuCompatibility(); // FIXME: Should be done inside MachInit!
|
||||||
|
|
||||||
/* UI pre-initialization */
|
/* UI pre-initialization */
|
||||||
if (!UiInitialize(FALSE))
|
if (!UiInitialize(FALSE))
|
||||||
|
|
|
@ -124,6 +124,6 @@
|
||||||
VOID __cdecl BootMain(IN PCCH CmdLine);
|
VOID __cdecl BootMain(IN PCCH CmdLine);
|
||||||
VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem);
|
VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem);
|
||||||
VOID RunLoader(VOID);
|
VOID RunLoader(VOID);
|
||||||
VOID FrLdrCheckCpuCompatiblity(VOID);
|
VOID FrLdrCheckCpuCompatibility(VOID);
|
||||||
|
|
||||||
#endif /* __FREELDR_H */
|
#endif /* __FREELDR_H */
|
||||||
|
|
|
@ -916,7 +916,7 @@ BOOLEAN FatGetFatEntry(PFAT_VOLUME_INFO Volume, ULONG Cluster, ULONG* ClusterPoi
|
||||||
|
|
||||||
//TRACE("FatGetFatEntry() Retrieving FAT entry for cluster %d.\n", Cluster);
|
//TRACE("FatGetFatEntry() Retrieving FAT entry for cluster %d.\n", Cluster);
|
||||||
|
|
||||||
// We need a buffer for 2 secors
|
// We need a buffer for 2 sectors
|
||||||
ReadBuffer = FrLdrTempAlloc(2 * Volume->BytesPerSector, TAG_FAT_BUFFER);
|
ReadBuffer = FrLdrTempAlloc(2 * Volume->BytesPerSector, TAG_FAT_BUFFER);
|
||||||
if (!ReadBuffer)
|
if (!ReadBuffer)
|
||||||
{
|
{
|
||||||
|
|
|
@ -370,7 +370,7 @@ FrLdrHeapAllocateEx(
|
||||||
/* Check if the remaining space is large enough for a new block */
|
/* Check if the remaining space is large enough for a new block */
|
||||||
if (Remaining > 1)
|
if (Remaining > 1)
|
||||||
{
|
{
|
||||||
/* Make the allocated block as large as neccessary */
|
/* Make the allocated block as large as necessary */
|
||||||
Block->Size = BlockSize;
|
Block->Size = BlockSize;
|
||||||
|
|
||||||
/* Get pointer to the new block */
|
/* Get pointer to the new block */
|
||||||
|
@ -419,7 +419,7 @@ FrLdrHeapAllocateEx(
|
||||||
*REDZONE_LOW(Block) = REDZONE_MARK;
|
*REDZONE_LOW(Block) = REDZONE_MARK;
|
||||||
*REDZONE_HI(Block) = REDZONE_MARK;
|
*REDZONE_HI(Block) = REDZONE_MARK;
|
||||||
|
|
||||||
/* Allcoation starts after size field and redzone */
|
/* Allocation starts after size field and redzone */
|
||||||
return (PUCHAR)Block->Data + REDZONE_LOW_OFFSET;
|
return (PUCHAR)Block->Data + REDZONE_LOW_OFFSET;
|
||||||
#endif
|
#endif
|
||||||
/* Return pointer to the data */
|
/* Return pointer to the data */
|
||||||
|
|
|
@ -674,7 +674,7 @@ BOOLEAN MmAreMemoryPagesAvailable(PVOID PageLookupTable, PFN_NUMBER TotalPageCou
|
||||||
StartPage -= MmLowestPhysicalPage;
|
StartPage -= MmLowestPhysicalPage;
|
||||||
|
|
||||||
// Make sure they aren't trying to go past the
|
// Make sure they aren't trying to go past the
|
||||||
// end of availabe memory
|
// end of available memory
|
||||||
if ((StartPage + PageCount) > TotalPageCount)
|
if ((StartPage + PageCount) > TotalPageCount)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -683,7 +683,7 @@ BOOLEAN MmAreMemoryPagesAvailable(PVOID PageLookupTable, PFN_NUMBER TotalPageCou
|
||||||
for (Index = StartPage; Index < (StartPage + PageCount); Index++)
|
for (Index = StartPage; Index < (StartPage + PageCount); Index++)
|
||||||
{
|
{
|
||||||
// If this page is allocated then there obviously isn't
|
// If this page is allocated then there obviously isn't
|
||||||
// memory availabe so return FALSE
|
// memory available so return FALSE
|
||||||
if (RealPageLookupTable[Index].PageAllocated != LoaderFree)
|
if (RealPageLookupTable[Index].PageAllocated != LoaderFree)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -631,7 +631,7 @@ WinLdrpBindImportName(IN OUT PLIST_ENTRY ModuleListHead,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Everything allright, get the ordinal */
|
/* Everything alright, get the ordinal */
|
||||||
Ordinal = OrdinalTable[Middle];
|
Ordinal = OrdinalTable[Middle];
|
||||||
|
|
||||||
//TRACE("WinLdrpBindImportName() found Ordinal %d\n", Ordinal);
|
//TRACE("WinLdrpBindImportName() found Ordinal %d\n", Ordinal);
|
||||||
|
|
|
@ -52,7 +52,7 @@ MempAllocatePageTables(VOID)
|
||||||
{
|
{
|
||||||
ULONG NumPageTables, TotalSize;
|
ULONG NumPageTables, TotalSize;
|
||||||
PUCHAR Buffer;
|
PUCHAR Buffer;
|
||||||
// It's better to allocate PDE + PTEs contigiuos
|
// It's better to allocate PDE + PTEs contiguous
|
||||||
|
|
||||||
// Max number of entries = MaxPageNum >> 10
|
// Max number of entries = MaxPageNum >> 10
|
||||||
// FIXME: This is a number to describe ALL physical memory
|
// FIXME: This is a number to describe ALL physical memory
|
||||||
|
|
|
@ -310,7 +310,7 @@ LoadReactOSSetup(IN OperatingSystemItem* OperatingSystem,
|
||||||
|
|
||||||
UiDrawStatusText("Setup is loading...");
|
UiDrawStatusText("Setup is loading...");
|
||||||
|
|
||||||
/* Allocate and minimalistic-initialize LPB */
|
/* Allocate and minimalist-initialize LPB */
|
||||||
AllocateAndInitLPB(&LoaderBlock);
|
AllocateAndInitLPB(&LoaderBlock);
|
||||||
|
|
||||||
/* Allocate and initialize setup loader block */
|
/* Allocate and initialize setup loader block */
|
||||||
|
|
|
@ -441,7 +441,7 @@ LoadModule(
|
||||||
BOOLEAN Success;
|
BOOLEAN Success;
|
||||||
CHAR FullFileName[MAX_PATH];
|
CHAR FullFileName[MAX_PATH];
|
||||||
CHAR ProgressString[256];
|
CHAR ProgressString[256];
|
||||||
PVOID BaseAdress = NULL;
|
PVOID BaseAddress = NULL;
|
||||||
|
|
||||||
UiDrawBackdrop();
|
UiDrawBackdrop();
|
||||||
sprintf(ProgressString, "Loading %s...", File);
|
sprintf(ProgressString, "Loading %s...", File);
|
||||||
|
@ -451,13 +451,13 @@ LoadModule(
|
||||||
strcat(FullFileName, "SYSTEM32\\");
|
strcat(FullFileName, "SYSTEM32\\");
|
||||||
strcat(FullFileName, File);
|
strcat(FullFileName, File);
|
||||||
|
|
||||||
Success = WinLdrLoadImage(FullFileName, MemoryType, &BaseAdress);
|
Success = WinLdrLoadImage(FullFileName, MemoryType, &BaseAddress);
|
||||||
if (!Success)
|
if (!Success)
|
||||||
{
|
{
|
||||||
TRACE("Loading %s failed\n", File);
|
TRACE("Loading %s failed\n", File);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
TRACE("%s loaded successfully at %p\n", File, BaseAdress);
|
TRACE("%s loaded successfully at %p\n", File, BaseAddress);
|
||||||
|
|
||||||
strcpy(FullFileName, "WINDOWS\\SYSTEM32\\");
|
strcpy(FullFileName, "WINDOWS\\SYSTEM32\\");
|
||||||
strcat(FullFileName, File);
|
strcat(FullFileName, File);
|
||||||
|
@ -469,7 +469,7 @@ LoadModule(
|
||||||
Success = WinLdrAllocateDataTableEntry(&LoaderBlock->LoadOrderListHead,
|
Success = WinLdrAllocateDataTableEntry(&LoaderBlock->LoadOrderListHead,
|
||||||
(IsKdTransportDll ? "KDCOM.DLL" : File),
|
(IsKdTransportDll ? "KDCOM.DLL" : File),
|
||||||
FullFileName,
|
FullFileName,
|
||||||
BaseAdress,
|
BaseAddress,
|
||||||
Dte);
|
Dte);
|
||||||
|
|
||||||
return Success;
|
return Success;
|
||||||
|
@ -692,7 +692,7 @@ LoadAndBootWindows(IN OperatingSystemItem* OperatingSystem,
|
||||||
|
|
||||||
TRACE("BootPath: '%s'\n", BootPath);
|
TRACE("BootPath: '%s'\n", BootPath);
|
||||||
|
|
||||||
/* Allocate and minimalistic-initialize LPB */
|
/* Allocate and minimalist-initialize LPB */
|
||||||
AllocateAndInitLPB(&LoaderBlock);
|
AllocateAndInitLPB(&LoaderBlock);
|
||||||
|
|
||||||
/* Load Hive */
|
/* Load Hive */
|
||||||
|
|
|
@ -563,7 +563,7 @@ WinLdrScanRegistry(IN OUT PLIST_ENTRY BootDriverListHead,
|
||||||
ValueSize = sizeof(TempImagePath);
|
ValueSize = sizeof(TempImagePath);
|
||||||
rc = RegQueryValue(hDriverKey, L"ImagePath", NULL, (PUCHAR)TempImagePath, &ValueSize);
|
rc = RegQueryValue(hDriverKey, L"ImagePath", NULL, (PUCHAR)TempImagePath, &ValueSize);
|
||||||
|
|
||||||
/* Write the whole path if it suceeded, else prepare to fail */
|
/* Write the whole path if it succeeded, else prepare to fail */
|
||||||
if (rc != ERROR_SUCCESS)
|
if (rc != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
TRACE_CH(REACTOS, "ImagePath: not found\n");
|
TRACE_CH(REACTOS, "ImagePath: not found\n");
|
||||||
|
|
|
@ -53,7 +53,7 @@ PCSTR OptionsMenuList[] =
|
||||||
PCSTR FrldrDbgMsg = "Enable FreeLdr debug channels\n"
|
PCSTR FrldrDbgMsg = "Enable FreeLdr debug channels\n"
|
||||||
"Acceptable syntax: [level1]#channel1[,[level2]#channel2]\n"
|
"Acceptable syntax: [level1]#channel1[,[level2]#channel2]\n"
|
||||||
"level can be one of: trace,warn,fixme,err\n"
|
"level can be one of: trace,warn,fixme,err\n"
|
||||||
" if the level is ommited all levels\n"
|
" if the level is omitted all levels\n"
|
||||||
" are enabled for the specified channel\n"
|
" are enabled for the specified channel\n"
|
||||||
"# can be either + or -\n"
|
"# can be either + or -\n"
|
||||||
"channel can be one of the following:\n"
|
"channel can be one of the following:\n"
|
||||||
|
|
|
@ -50,7 +50,7 @@ CHAR UiTitleBoxTitleText[260] = "Boot Menu"; // Title box's tit
|
||||||
BOOLEAN UiUseSpecialEffects = FALSE; // Tells us if we should use fade effects
|
BOOLEAN UiUseSpecialEffects = FALSE; // Tells us if we should use fade effects
|
||||||
BOOLEAN UiDrawTime = TRUE; // Tells us if we should draw the time
|
BOOLEAN UiDrawTime = TRUE; // Tells us if we should draw the time
|
||||||
BOOLEAN UiCenterMenu = TRUE; // Tells us if we should use a centered or left-aligned menu
|
BOOLEAN UiCenterMenu = TRUE; // Tells us if we should use a centered or left-aligned menu
|
||||||
BOOLEAN UiMenuBox = TRUE; // Tells us if we shuld draw a box around the menu
|
BOOLEAN UiMenuBox = TRUE; // Tells us if we should draw a box around the menu
|
||||||
CHAR UiTimeText[260] = "[Time Remaining: ] ";
|
CHAR UiTimeText[260] = "[Time Remaining: ] ";
|
||||||
|
|
||||||
const CHAR UiMonthNames[12][15] = { "January ", "February ", "March ", "April ", "May ", "June ", "July ", "August ", "September ", "October ", "November ", "December " };
|
const CHAR UiMonthNames[12][15] = { "January ", "February ", "March ", "April ", "May ", "June ", "July ", "August ", "September ", "October ", "November ", "December " };
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
|
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
|
||||||
* PURPOSE: Platform independant delete command
|
* PURPOSE: Platform independent delete command
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
|
* PROGRAMMER: Rex Jolliff (rex@lvcablemodem.com)
|
||||||
* Casper S. Hornstrup (chorns@users.sourceforge.net)
|
* Casper S. Hornstrup (chorns@users.sourceforge.net)
|
||||||
* PURPOSE: Platform independant remove directory command
|
* PURPOSE: Platform independent remove directory command
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
Loading…
Reference in a new issue