mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
Rename KDB.init to KDBinit - it was not an ISO9660 conforming name.
svn path=/trunk/; revision=13846
This commit is contained in:
parent
3aa3b694b0
commit
530931df11
|
@ -216,8 +216,8 @@ bootcd_install_before:
|
||||||
$(CP) media/nls/l_intl.nls $(BOOTCD_DIR)/reactos/l_intl.nls
|
$(CP) media/nls/l_intl.nls $(BOOTCD_DIR)/reactos/l_intl.nls
|
||||||
$(HALFVERBOSEECHO) [COPY] media/drivers/etc/services to $(BOOTCD_DIR)/reactos/services
|
$(HALFVERBOSEECHO) [COPY] media/drivers/etc/services to $(BOOTCD_DIR)/reactos/services
|
||||||
$(CP) media/drivers/etc/services $(BOOTCD_DIR)/reactos/services
|
$(CP) media/drivers/etc/services $(BOOTCD_DIR)/reactos/services
|
||||||
$(HALFVERBOSEECHO) [COPY] media/drivers/etc/KDB.init to $(BOOTCD_DIR)/reactos/KDB.init
|
$(HALFVERBOSEECHO) [COPY] media/drivers/etc/KDBinit to $(BOOTCD_DIR)/reactos/KDBinit
|
||||||
$(CP) media/drivers/etc/KDB.init $(BOOTCD_DIR)/reactos/KDB.init
|
$(CP) media/drivers/etc/KDBinit $(BOOTCD_DIR)/reactos/KDBinit
|
||||||
|
|
||||||
bootcd_basic: bootcd_directory_layout bootcd_bootstrap_files bootcd_install_before
|
bootcd_basic: bootcd_directory_layout bootcd_bootstrap_files bootcd_install_before
|
||||||
|
|
||||||
|
@ -1045,8 +1045,8 @@ install_before:
|
||||||
$(CP) media/nls/l_intl.nls $(INSTALL_DIR)/system32/casemap.nls
|
$(CP) media/nls/l_intl.nls $(INSTALL_DIR)/system32/casemap.nls
|
||||||
$(HALFVERBOSEECHO) [INSTALL] media/drivers/etc/services to $(INSTALL_DIR)/system32/drivers/etc/services
|
$(HALFVERBOSEECHO) [INSTALL] media/drivers/etc/services to $(INSTALL_DIR)/system32/drivers/etc/services
|
||||||
$(CP) media/drivers/etc/services $(INSTALL_DIR)/system32/drivers/etc/services
|
$(CP) media/drivers/etc/services $(INSTALL_DIR)/system32/drivers/etc/services
|
||||||
$(HALFVERBOSEECHO) [INSTALL] media/drivers/etc/KDB.init to $(INSTALL_DIR)/system32/drivers/etc/KDB.init
|
$(HALFVERBOSEECHO) [INSTALL] media/drivers/etc/KDBinit to $(INSTALL_DIR)/system32/drivers/etc/KDBinit
|
||||||
$(CP) media/drivers/etc/KDB.init $(INSTALL_DIR)/system32/drivers/etc/KDB.init
|
$(CP) media/drivers/etc/KDBinit $(INSTALL_DIR)/system32/drivers/etc/KDBinit
|
||||||
|
|
||||||
.PHONY: install_clean install_dirs install_before
|
.PHONY: install_clean install_dirs install_before
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ STATIC BOOLEAN KdbOutputAborted = FALSE;
|
||||||
STATIC LONG KdbNumberOfRowsTerminal = -1;
|
STATIC LONG KdbNumberOfRowsTerminal = -1;
|
||||||
STATIC LONG KdbNumberOfColsTerminal = -1;
|
STATIC LONG KdbNumberOfColsTerminal = -1;
|
||||||
|
|
||||||
PCHAR KdbInitFileBuffer = NULL; /* Buffer where KDB.init file is loaded into during initialization */
|
PCHAR KdbInitFileBuffer = NULL; /* Buffer where KDBinit file is loaded into during initialization */
|
||||||
|
|
||||||
STATIC CONST struct
|
STATIC CONST struct
|
||||||
{
|
{
|
||||||
|
@ -2206,7 +2206,7 @@ KdbpCliInterpretInitFile()
|
||||||
CHAR c;
|
CHAR c;
|
||||||
|
|
||||||
/* Execute the commands in the init file */
|
/* Execute the commands in the init file */
|
||||||
DbgPrint("KDB: Executing KDB.init file...\n");
|
DbgPrint("KDB: Executing KDBinit file...\n");
|
||||||
p1 = KdbInitFileBuffer;
|
p1 = KdbInitFileBuffer;
|
||||||
while (p1[0] != '\0')
|
while (p1[0] != '\0')
|
||||||
{
|
{
|
||||||
|
@ -2237,12 +2237,12 @@ KdbpCliInterpretInitFile()
|
||||||
while (p1[0] == '\r' || p1[0] == '\n')
|
while (p1[0] == '\r' || p1[0] == '\n')
|
||||||
p1++;
|
p1++;
|
||||||
}
|
}
|
||||||
DbgPrint("KDB: KDB.init executed\n");
|
DbgPrint("KDB: KDBinit executed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!\brief Called when KDB is initialized
|
/*!\brief Called when KDB is initialized
|
||||||
*
|
*
|
||||||
* Reads the KDB.init file from the SystemRoot\system32\drivers\etc directory and executes it.
|
* Reads the KDBinit file from the SystemRoot\system32\drivers\etc directory and executes it.
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
KdbpCliInit()
|
KdbpCliInit()
|
||||||
|
@ -2258,7 +2258,7 @@ KdbpCliInit()
|
||||||
ULONG OldEflags;
|
ULONG OldEflags;
|
||||||
|
|
||||||
/* Initialize the object attributes */
|
/* Initialize the object attributes */
|
||||||
RtlInitUnicodeString(&FileName, L"\\SystemRoot\\system32\\drivers\\etc\\KDB.init");
|
RtlInitUnicodeString(&FileName, L"\\SystemRoot\\system32\\drivers\\etc\\KDBinit");
|
||||||
InitializeObjectAttributes(&ObjectAttributes, &FileName, 0, NULL, NULL);
|
InitializeObjectAttributes(&ObjectAttributes, &FileName, 0, NULL, NULL);
|
||||||
|
|
||||||
/* Open the file */
|
/* Open the file */
|
||||||
|
@ -2267,7 +2267,7 @@ KdbpCliInit()
|
||||||
FILE_NO_INTERMEDIATE_BUFFERING);
|
FILE_NO_INTERMEDIATE_BUFFERING);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT("Could not open \\SystemRoot\\system32\\drivers\\etc\\KDB.init (Status 0x%x)", Status);
|
DPRINT("Could not open \\SystemRoot\\system32\\drivers\\etc\\KDBinit (Status 0x%x)", Status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2277,7 +2277,7 @@ KdbpCliInit()
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
ZwClose(hFile);
|
ZwClose(hFile);
|
||||||
DPRINT("Could not query size of \\SystemRoot\\system32\\drivers\\etc\\KDB.init (Status 0x%x)", Status);
|
DPRINT("Could not query size of \\SystemRoot\\system32\\drivers\\etc\\KDBinit (Status 0x%x)", Status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
FileSize = FileStdInfo.EndOfFile.u.LowPart;
|
FileSize = FileStdInfo.EndOfFile.u.LowPart;
|
||||||
|
@ -2287,7 +2287,7 @@ KdbpCliInit()
|
||||||
if (FileBuffer == NULL)
|
if (FileBuffer == NULL)
|
||||||
{
|
{
|
||||||
ZwClose(hFile);
|
ZwClose(hFile);
|
||||||
DPRINT("Could not allocate %d bytes for KDB.init file\n", FileSize);
|
DPRINT("Could not allocate %d bytes for KDBinit file\n", FileSize);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2297,7 +2297,7 @@ KdbpCliInit()
|
||||||
if (!NT_SUCCESS(Status) && Status != STATUS_END_OF_FILE)
|
if (!NT_SUCCESS(Status) && Status != STATUS_END_OF_FILE)
|
||||||
{
|
{
|
||||||
ExFreePool(FileBuffer);
|
ExFreePool(FileBuffer);
|
||||||
DPRINT("Could not read KDB.init file into memory (Status 0x%lx)\n", Status);
|
DPRINT("Could not read KDBinit file into memory (Status 0x%lx)\n", Status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
FileSize = min(FileSize, Iosb.Information);
|
FileSize = min(FileSize, Iosb.Information);
|
||||||
|
|
Loading…
Reference in a new issue