mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
revert previous commit due to serious build problems
svn path=/trunk/; revision=51872
This commit is contained in:
parent
54e3afb4ee
commit
e345b5a483
16 changed files with 41 additions and 58 deletions
|
@ -126,7 +126,7 @@ SetupCopyFile(PWCHAR SourceFileName,
|
||||||
FILE_SEQUENTIAL_ONLY);
|
FILE_SEQUENTIAL_ONLY);
|
||||||
if(!NT_SUCCESS(Status))
|
if(!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("NtOpenFile failed: %x, %wZ\n", Status, &FileName);
|
DPRINT1("NtOpenFile failed: %x\n", Status);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -40,7 +40,6 @@ scsiport.sys=,,,,,,x,,,,,,4
|
||||||
fastfat.sys=,,,,,,x,,,,,,4
|
fastfat.sys=,,,,,,x,,,,,,4
|
||||||
ramdisk.sys=,,,,,,x,,,,,,4
|
ramdisk.sys=,,,,,,x,,,,,,4
|
||||||
ext2fs.sys=,,,,,,x,,,,,,4
|
ext2fs.sys=,,,,,,x,,,,,,4
|
||||||
vgafonts.cab=,,,,,,,,,,,,1
|
|
||||||
classpnp.sys=,,,,,,,,,,,,4
|
classpnp.sys=,,,,,,,,,,,,4
|
||||||
pcix.sys=,,,,,,,,,,,,4
|
pcix.sys=,,,,,,,,,,,,4
|
||||||
pcmcia.sys=,,,,,,,,,,,,4
|
pcmcia.sys=,,,,,,,,,,,,4
|
||||||
|
|
|
@ -10,6 +10,7 @@ ARCH=$ROS_ARCH
|
||||||
REACTOS_SOURCE_DIR=$(cd `dirname $0` && pwd)
|
REACTOS_SOURCE_DIR=$(cd `dirname $0` && pwd)
|
||||||
REACTOS_OUTPUT_PATH=output-$BUILD_ENVIRONMENT-$ARCH
|
REACTOS_OUTPUT_PATH=output-$BUILD_ENVIRONMENT-$ARCH
|
||||||
|
|
||||||
|
echo ARCH $ARCH ROS $ROS_ARCH
|
||||||
if [ "$REACTOS_SOURCE_DIR" == "$PWD" ]
|
if [ "$REACTOS_SOURCE_DIR" == "$PWD" ]
|
||||||
then
|
then
|
||||||
echo Creating directories in $REACTOS_OUTPUT_PATH
|
echo Creating directories in $REACTOS_OUTPUT_PATH
|
||||||
|
@ -33,5 +34,5 @@ cmake -G "Unix Makefiles" -DARCH=$ARCH "$REACTOS_SOURCE_DIR"
|
||||||
cd ../reactos
|
cd ../reactos
|
||||||
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake -DARCH=$ARCH -DREACTOS_BUILD_TOOLS_DIR="$REACTOS_BUILD_TOOLS_DIR" "$REACTOS_SOURCE_DIR"
|
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake -DARCH=$ARCH -DREACTOS_BUILD_TOOLS_DIR="$REACTOS_BUILD_TOOLS_DIR" "$REACTOS_SOURCE_DIR"
|
||||||
|
|
||||||
echo "Configure script complete! Enter directories and execute appropriate build commands(ex: make, makex, etc...)."
|
echo Configure script complete! Enter directories and execute appropriate build commands(ex: make, makex, etc...).
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
#include "locale_rc.rc"
|
#include "locale_rc.rc"
|
||||||
|
|
||||||
#include "lang/en-US.rc"
|
|
||||||
#include "lang/de-DE.rc"
|
#include "lang/de-DE.rc"
|
||||||
|
#include "lang/en-US.rc"
|
||||||
#include "lang/es-ES.rc"
|
#include "lang/es-ES.rc"
|
||||||
#include "lang/ru-RU.rc"
|
#include "lang/ru-RU.rc"
|
||||||
#include "lang/uk-UA.rc"
|
#include "lang/uk-UA.rc"
|
||||||
|
|
|
@ -33,10 +33,10 @@ FONT 8, "MS Shell Dlg"
|
||||||
LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
|
LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
|
||||||
LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
|
LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
|
||||||
CHECKBOX "Ne jelení&tse meg ezt az üzenetet mégegyszer", IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
CHECKBOX "Ne jelení&tse meg ezt az üzenetet mégegyszer", IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&OK", IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Mégse", IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Mégse" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Igen", IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Igen" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Nem", IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Nem" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
}
|
}
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -34,10 +34,10 @@ FONT 8, "MS Shell Dlg"
|
||||||
LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
|
LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
|
||||||
LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
|
LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
|
||||||
CHECKBOX "Não &mostrar esta mensagem novamente", IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
CHECKBOX "Não &mostrar esta mensagem novamente", IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&OK", IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Cancelar", IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Cancelar" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Sim", IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Sim" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
PUSHBUTTON L"&Não", IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
PUSHBUTTON L"&Não" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
|
||||||
}
|
}
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -42,13 +42,13 @@ static int acpi_button_add (struct acpi_device *device);
|
||||||
static int acpi_button_remove (struct acpi_device *device, int type);
|
static int acpi_button_remove (struct acpi_device *device, int type);
|
||||||
|
|
||||||
static struct acpi_driver acpi_button_driver = {
|
static struct acpi_driver acpi_button_driver = {
|
||||||
{0,0},
|
.name = ACPI_BUTTON_DRIVER_NAME,
|
||||||
ACPI_BUTTON_DRIVER_NAME,
|
.class = ACPI_BUTTON_CLASS,
|
||||||
ACPI_BUTTON_CLASS,
|
.ids = "ACPI_FPB,ACPI_FSB,PNP0C0D,PNP0C0C,PNP0C0E",
|
||||||
0,
|
.ops = {
|
||||||
0,
|
.add = acpi_button_add,
|
||||||
"ACPI_FPB,ACPI_FSB,PNP0C0D,PNP0C0C,PNP0C0E",
|
.remove = acpi_button_remove,
|
||||||
{acpi_button_add,acpi_button_remove}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct acpi_button {
|
struct acpi_button {
|
||||||
|
|
|
@ -64,13 +64,14 @@ static int acpi_power_remove (struct acpi_device *device, int type);
|
||||||
static int acpi_power_resume(struct acpi_device *device, int state);
|
static int acpi_power_resume(struct acpi_device *device, int state);
|
||||||
|
|
||||||
static struct acpi_driver acpi_power_driver = {
|
static struct acpi_driver acpi_power_driver = {
|
||||||
{0,0},
|
.name = ACPI_POWER_DRIVER_NAME,
|
||||||
ACPI_POWER_DRIVER_NAME,
|
.class = ACPI_POWER_CLASS,
|
||||||
ACPI_POWER_CLASS,
|
.ids = ACPI_POWER_HID,
|
||||||
0,
|
.ops = {
|
||||||
0,
|
.add = acpi_power_add,
|
||||||
ACPI_POWER_HID,
|
.remove = acpi_power_remove,
|
||||||
{acpi_power_add, acpi_power_remove, NULL, NULL, acpi_power_resume}
|
.resume = acpi_power_resume,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct acpi_power_reference {
|
struct acpi_power_reference {
|
||||||
|
|
|
@ -48,13 +48,13 @@ static int acpi_system_remove (struct acpi_device *device, int type);
|
||||||
ACPI_STATUS acpi_suspend (UINT32 state);
|
ACPI_STATUS acpi_suspend (UINT32 state);
|
||||||
|
|
||||||
static struct acpi_driver acpi_system_driver = {
|
static struct acpi_driver acpi_system_driver = {
|
||||||
{0,0},
|
.name = ACPI_SYSTEM_DRIVER_NAME,
|
||||||
ACPI_SYSTEM_DRIVER_NAME,
|
.class = ACPI_SYSTEM_CLASS,
|
||||||
ACPI_SYSTEM_CLASS,
|
.ids = ACPI_SYSTEM_HID,
|
||||||
0,
|
.ops = {
|
||||||
0,
|
.add = acpi_system_add,
|
||||||
ACPI_SYSTEM_HID,
|
.remove = acpi_system_remove
|
||||||
{acpi_system_add, acpi_system_remove}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct acpi_system
|
struct acpi_system
|
||||||
|
|
|
@ -12,13 +12,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS
|
|
||||||
NTAPI
|
|
||||||
DriverEntry (
|
|
||||||
PDRIVER_OBJECT DriverObject,
|
|
||||||
PUNICODE_STRING RegistryPath
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef ALLOC_PRAGMA
|
#ifdef ALLOC_PRAGMA
|
||||||
#pragma alloc_text (INIT, DriverEntry)
|
#pragma alloc_text (INIT, DriverEntry)
|
||||||
#pragma alloc_text (PAGE, Bus_AddDevice)
|
#pragma alloc_text (PAGE, Bus_AddDevice)
|
||||||
|
|
|
@ -10,16 +10,11 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS
|
|
||||||
Bus_PlugInDevice (
|
|
||||||
struct acpi_device *Device,
|
|
||||||
PFDO_DEVICE_DATA FdoData
|
|
||||||
);
|
|
||||||
|
|
||||||
#ifdef ALLOC_PRAGMA
|
#ifdef ALLOC_PRAGMA
|
||||||
#pragma alloc_text (PAGE, Bus_PnP)
|
#pragma alloc_text (PAGE, Bus_PnP)
|
||||||
#pragma alloc_text (PAGE, Bus_PlugInDevice)
|
#pragma alloc_text (PAGE, Bus_PlugInDevice)
|
||||||
#pragma alloc_text (PAGE, Bus_InitializePdo)
|
#pragma alloc_text (PAGE, Bus_InitializePdo)
|
||||||
|
#pragma alloc_text (PAGE, Bus_UnPlugDevice)
|
||||||
#pragma alloc_text (PAGE, Bus_DestroyPdo)
|
#pragma alloc_text (PAGE, Bus_DestroyPdo)
|
||||||
#pragma alloc_text (PAGE, Bus_FDO_PnP)
|
#pragma alloc_text (PAGE, Bus_FDO_PnP)
|
||||||
#pragma alloc_text (PAGE, Bus_StartFdo)
|
#pragma alloc_text (PAGE, Bus_StartFdo)
|
||||||
|
|
|
@ -224,7 +224,7 @@ Bus_PDO_Power (
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(NDEBUG) || defined(_MSC_VER)
|
#ifndef NDEBUG
|
||||||
|
|
||||||
PCHAR
|
PCHAR
|
||||||
PowerMinorFunctionString (
|
PowerMinorFunctionString (
|
||||||
|
|
|
@ -20,9 +20,8 @@ BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
PciAreBusNumbersConfigured(IN PPCI_PDO_EXTENSION PdoExtension)
|
PciAreBusNumbersConfigured(IN PPCI_PDO_EXTENSION PdoExtension)
|
||||||
{
|
{
|
||||||
UCHAR PrimaryBus, BaseBus, SecondaryBus, SubordinateBus;
|
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
UCHAR PrimaryBus, BaseBus, SecondaryBus, SubordinateBus;
|
||||||
|
|
||||||
/* Get all relevant bus number details */
|
/* Get all relevant bus number details */
|
||||||
PrimaryBus = PdoExtension->Dependent.type1.PrimaryBus;
|
PrimaryBus = PdoExtension->Dependent.type1.PrimaryBus;
|
||||||
|
|
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <asm.inc>
|
#include <ndk/asm.h>
|
||||||
|
|
||||||
#include <ks386.inc>
|
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
#include "float_cast.h"
|
#include "float_cast.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
static int linear_vari_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
|
static int linear_vari_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
|
||||||
static void linear_reset (SRC_PRIVATE *psrc) ;
|
static void linear_reset (SRC_PRIVATE *psrc) ;
|
||||||
|
|
||||||
|
@ -110,8 +107,8 @@ linear_vari_process (SRC_PRIVATE *psrc, SRC_DATA *data)
|
||||||
src_ratio = psrc->last_ratio + priv->out_gen * (data->src_ratio - psrc->last_ratio) / priv->out_count ;
|
src_ratio = psrc->last_ratio + priv->out_gen * (data->src_ratio - psrc->last_ratio) / priv->out_count ;
|
||||||
|
|
||||||
if (SRC_DEBUG && priv->in_used < priv->channels && input_index < 1.0)
|
if (SRC_DEBUG && priv->in_used < priv->channels && input_index < 1.0)
|
||||||
{ DPRINT1 ("Whoops!!!! in_used : %ld channels : %d input_index : %f\n", priv->in_used, priv->channels, input_index) ;
|
{ printf ("Whoops!!!! in_used : %ld channels : %d input_index : %f\n", priv->in_used, priv->channels, input_index) ;
|
||||||
ASSERT (0) ;
|
exit (1) ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
for (ch = 0 ; ch < priv->channels ; ch++)
|
for (ch = 0 ; ch < priv->channels ; ch++)
|
||||||
|
|
|
@ -41,7 +41,7 @@ ULONG KeDcacheFlushCount = 0;
|
||||||
ULONG KeIcacheFlushCount = 0;
|
ULONG KeIcacheFlushCount = 0;
|
||||||
ULONG KiDmaIoCoherency = 0;
|
ULONG KiDmaIoCoherency = 0;
|
||||||
ULONG KePrefetchNTAGranularity = 32;
|
ULONG KePrefetchNTAGranularity = 32;
|
||||||
CHAR KeNumberProcessors = 0;
|
CHAR KeNumberProcessors;
|
||||||
KAFFINITY KeActiveProcessors = 1;
|
KAFFINITY KeActiveProcessors = 1;
|
||||||
BOOLEAN KiI386PentiumLockErrataPresent;
|
BOOLEAN KiI386PentiumLockErrataPresent;
|
||||||
BOOLEAN KiSMTProcessorsPresent;
|
BOOLEAN KiSMTProcessorsPresent;
|
||||||
|
|
Loading…
Reference in a new issue