ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
March 2015
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
18 participants
496 discussions
Start a n
N
ew thread
[tkreuzer] 66823: [I8042PRT] Implement parsing of SMBIOS tables to be able to apply hardware specific hacks. First hack fix attempt is on Microsoft VirtualMachine.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Mar 19 21:50:53 2015 New Revision: 66823 URL:
http://svn.reactos.org/svn/reactos?rev=66823&view=rev
Log: [I8042PRT] Implement parsing of SMBIOS tables to be able to apply hardware specific hacks. First hack fix attempt is on Microsoft VirtualMachine. Added: trunk/reactos/drivers/input/i8042prt/hwhacks.c (with props) Modified: trunk/reactos/drivers/input/i8042prt/CMakeLists.txt trunk/reactos/drivers/input/i8042prt/i8042prt.c trunk/reactos/drivers/input/i8042prt/i8042prt.h trunk/reactos/drivers/input/i8042prt/pnp.c trunk/reactos/include/ddk/wmiguid.h Modified: trunk/reactos/drivers/input/i8042prt/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/CMa…
============================================================================== --- trunk/reactos/drivers/input/i8042prt/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/input/i8042prt/CMakeLists.txt [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -1,6 +1,7 @@ list(APPEND SOURCE createclose.c + hwhacks.c i8042prt.c keyboard.c misc.c Added: trunk/reactos/drivers/input/i8042prt/hwhacks.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/hwh…
============================================================================== --- trunk/reactos/drivers/input/i8042prt/hwhacks.c (added) +++ trunk/reactos/drivers/input/i8042prt/hwhacks.c [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -0,0 +1,268 @@ +/* + * PROJECT: ReactOS i8042 (ps/2 keyboard-mouse controller) driver + * LICENSE: GPL - See COPYING in the top level directory + * FILE: drivers/input/i8042prt/hwhacks.c + * PURPOSE: Mouse specific functions + * PROGRAMMERS: Timo Kreuzer (timo.kreuzer(a)reactos.org) + * REFERENCES: -
http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.p…
+ * - + */ + +#include "i8042prt.h" +#include <wmiguid.h> +#include <wmidata.h> +#include <wmistr.h> +#include "dmi.h" + +#define NDEBUG +#include <debug.h> + +const GUID MSSmBios_RawSMBiosTables_GUID = SMBIOS_DATA_GUID; +PVOID i8042SMBiosTables; +ULONG i8042HwFlags; + +enum _ID_STRINGS +{ + ID_NONE = 0, + BIOS_VENDOR, + BIOS_VERSION, + BIOS_DATE, + SYS_VENDOR, + SYS_PRODUCT, + SYS_VERSION, + SYS_SERIAL, + BOARD_VENDOR, + BOARD_NAME, + BOARD_VERSION, + BOARD_SERIAL, + BOARD_ASSET_TAG, + + + ID_STRINGS_MAX, +}; + +typedef struct _MATCHENTRY +{ + ULONG Type; + PCHAR String; +} MATCHENTRY; + +#define MAX_MATCH_ENTRIES 3 +typedef struct _HARDWARE_TABLE +{ + MATCHENTRY MatchEntries[MAX_MATCH_ENTRIES]; + ULONG Flags; +} HARDWARE_TABLE; + +const HARDWARE_TABLE i8042HardwareTable[] = +{ +// { {{BOARD_VENDOR, "RIOWORKS"}, {BOARD_NAME, "HDAMB"}, {BOARD_VERSION, "Rev E"}}, FL_NOLOOP }, +// { {{BOARD_VENDOR, "ASUSTeK Computer Inc."}, {BOARD_NAME, "G1S"}, {BOARD_VERSION, "1.0"}}, FL_NOLOOP }, + + { {{SYS_VENDOR, "Microsoft Corporation"}, {SYS_PRODUCT, "Virtual Machine"}, /*{SYS_VERSION, "VS2005R2"} */}, FL_INITHACK }, + { {{SYS_VENDOR, "Dell Inc."}, {SYS_PRODUCT, "Latitude D530"}}, FL_INITHACK }, + { {{SYS_VENDOR, "Dell Inc."}, {SYS_PRODUCT, "Latitude D600"}}, FL_INITHACK }, + +}; + + + +static +PCHAR +GetDmiString( + _In_ PDMI_HEADER Header, + _In_ ULONG FieldOffset) +{ + ULONG StringIndex; + PCHAR String; + + StringIndex = ((PUCHAR)Header)[FieldOffset]; + String = (PCHAR)Header + Header->Length; + + while (StringIndex != 0) + { + while (*String != 0) + String++; + + String++; + StringIndex--; + } + + return String; +} + + +static +VOID +i8042ParseSMBiosTables( + _In_reads_bytes_(TableSize) PVOID SMBiosTables, + _In_ ULONG TableSize) +{ + PMSSmBios_RawSMBiosTables BiosTablesHeader = SMBiosTables; + PDMI_HEADER Header; + ULONG Remaining, i, j; + PCHAR Data; + PCHAR Strings[ID_STRINGS_MAX] = { 0 }; + + Header = (PDMI_HEADER)(&BiosTablesHeader->SMBiosData); + Remaining = BiosTablesHeader->Size; + + while (Remaining >= sizeof(*Header)) + { + + if (Header->Type == DMI_ENTRY_END_OF_TABLE) + break; + + switch (Header->Type) + { + case DMI_ENTRY_BIOS: + if (Remaining < DMI_BIOS_SIZE) + return; + Strings[BIOS_VENDOR] = GetDmiString(Header, DMI_BIOS_VENDOR); + Strings[BIOS_VERSION] = GetDmiString(Header, DMI_BIOS_VERSION); + Strings[BIOS_DATE] = GetDmiString(Header, DMI_BIOS_DATE); + break; + + case DMI_ENTRY_SYSTEM: + if (Remaining < DMI_SYS_SIZE) + return; + Strings[SYS_VENDOR] = GetDmiString(Header, DMI_SYS_VENDOR); + Strings[SYS_PRODUCT] = GetDmiString(Header, DMI_SYS_PRODUCT); + Strings[SYS_VERSION] = GetDmiString(Header, DMI_SYS_VERSION); + Strings[SYS_SERIAL] = GetDmiString(Header, DMI_SYS_SERIAL); + break; + + case DMI_ENTRY_BASEBOARD: + if (Remaining < DMI_BOARD_SIZE) + return; + Strings[BOARD_VENDOR] = GetDmiString(Header, DMI_BOARD_VENDOR); + Strings[BOARD_NAME] = GetDmiString(Header, DMI_BOARD_NAME); + Strings[BOARD_VERSION] = GetDmiString(Header, DMI_BOARD_VERSION); + Strings[BOARD_SERIAL] = GetDmiString(Header, DMI_BOARD_SERIAL); + Strings[BOARD_ASSET_TAG] = GetDmiString(Header, DMI_BOARD_ASSET_TAG); + break; + + case DMI_ENTRY_CHASSIS: + case DMI_ENTRY_ONBOARD_DEVICE: + case DMI_ENTRY_OEMSTRINGS: + // DMI_ENTRY_IPMI_DEV? + // DMI_ENTRY_ONBOARD_DEV_EXT? + break; + } + + Remaining -= Header->Length; + Data = (PCHAR)Header + Header->Length; + + /* Now loop until we find 2 zeroes */ + while ((Remaining >= 2) && ((Data[0] != 0) || (Data[1] != 0))) + { + Data++; + Remaining--; + } + + if (Remaining < 2) + break; + + /* Go to the next header */ + Remaining -= 2; + Header = (PDMI_HEADER)((PUCHAR)Data + 2); + } + +#if DBG + DbgPrint("i8042prt: Dumping DMI data:\n"); + DbgPrint("BIOS_VENDOR: %s\n", Strings[BIOS_VENDOR]); + DbgPrint("BIOS_VERSION: %s\n", Strings[BIOS_VERSION]); + DbgPrint("BIOS_DATE: %s\n", Strings[BIOS_DATE]); + DbgPrint("SYS_VENDOR: %s\n", Strings[SYS_VENDOR]); + DbgPrint("SYS_PRODUCT: %s\n", Strings[SYS_PRODUCT]); + DbgPrint("SYS_VERSION: %s\n", Strings[SYS_VERSION]); + DbgPrint("SYS_SERIAL: %s\n", Strings[SYS_SERIAL]); + DbgPrint("BOARD_VENDOR: %s\n", Strings[BOARD_VENDOR]); + DbgPrint("BOARD_NAME: %s\n", Strings[BOARD_NAME]); + DbgPrint("BOARD_VERSION: %s\n", Strings[BOARD_VERSION]); + DbgPrint("BOARD_SERIAL: %s\n", Strings[BOARD_SERIAL]); + DbgPrint("BOARD_ASSET_TAG: %s\n", Strings[BOARD_ASSET_TAG]); +#endif + + /* Now loop the hardware table to find a match */ + for (i = 0; i < ARRAYSIZE(i8042HardwareTable); i++) + { + for (j = 0; j < MAX_MATCH_ENTRIES; j++) + { + ULONG Type = i8042HardwareTable[i].MatchEntries[j].Type; + + if (Type != ID_NONE) + { + /* Check for a match */ + if ((Strings[Type] == NULL) || + strcmp(i8042HardwareTable[i].MatchEntries[j].String, + Strings[i8042HardwareTable[i].MatchEntries[j].Type])) + { + /* Does not match, try next entry */ + break; + } + } + } + + if (j == MAX_MATCH_ENTRIES) + { + /* All items matched! */ + i8042HwFlags = i8042HardwareTable[i].Flags; + DPRINT("Found match for hw table index %u\n", i); + break; + } + } +} + +VOID +NTAPI +i8042InitializeHwHacks( + VOID) +{ + NTSTATUS Status; + PVOID DataBlockObject; + PWNODE_ALL_DATA AllData; + ULONG BufferSize; + + /* Open the data block object for the SMBIOS table */ + Status = IoWMIOpenBlock(&MSSmBios_RawSMBiosTables_GUID, + WMIGUID_QUERY, + &DataBlockObject); + if (!NT_SUCCESS(Status)) + { + DPRINT1("IoWMIOpenBlock failed: 0x%08lx\n", Status); + return; + } + + /* Query the required buffer size */ + BufferSize = 0; + Status = IoWMIQueryAllData(DataBlockObject, &BufferSize, NULL); + if (!NT_SUCCESS(Status)) + { + DPRINT1("IoWMIOpenBlock failed: 0x%08lx\n", Status); + return; + } + + AllData = ExAllocatePoolWithTag(PagedPool, BufferSize, 'BTMS'); + if (AllData == NULL) + { + DPRINT1("Failed to allocate %lu bytes for SMBIOS tables\n", BufferSize); + return; + } + + /* Query the buffer data */ + Status = IoWMIQueryAllData(DataBlockObject, &BufferSize, AllData); + if (!NT_SUCCESS(Status)) + { + DPRINT1("IoWMIOpenBlock failed: 0x%08lx\n", Status); + return; + } + + /* Parse the table */ + i8042ParseSMBiosTables(AllData + 1, + AllData->WnodeHeader.BufferSize); + + /* Free the buffer */ + ExFreePoolWithTag(AllData, 'BTMS'); +} + Propchange: trunk/reactos/drivers/input/i8042prt/hwhacks.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
============================================================================== --- trunk/reactos/drivers/input/i8042prt/i8042prt.c [iso-8859-1] (original) +++ trunk/reactos/drivers/input/i8042prt/i8042prt.c [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -560,5 +560,7 @@ DriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = i8042SystemControl; DriverObject->MajorFunction[IRP_MJ_PNP] = i8042Pnp; + i8042InitializeHwHacks(); + return STATUS_SUCCESS; } Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
============================================================================== --- trunk/reactos/drivers/input/i8042prt/i8042prt.h [iso-8859-1] (original) +++ trunk/reactos/drivers/input/i8042prt/i8042prt.h [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -441,4 +441,19 @@ IN PUNICODE_STRING RegistryPath, OUT PI8042_SETTINGS Settings); +/* hwhacks.c */ + +VOID +NTAPI +i8042InitializeHwHacks( + VOID); + +enum _FLAGS +{ + FL_NOLOOP = 0x01, + FL_INITHACK = 0x02, +}; + +extern ULONG i8042HwFlags; + #endif /* _I8042PRT_PCH_ */ Modified: trunk/reactos/drivers/input/i8042prt/pnp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/pnp…
============================================================================== --- trunk/reactos/drivers/input/i8042prt/pnp.c [iso-8859-1] (original) +++ trunk/reactos/drivers/input/i8042prt/pnp.c [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -482,9 +482,10 @@ /* HACK: the mouse has already been reset in i8042DetectMouse. This second reset prevents some touchpads/mice from working (Dell D531, D600). See CORE-6901 */ -#ifndef __I8042PRT_HACK_FOR_NOTEBOOK__ - i8042IsrWritePort(DeviceExtension, MOU_CMD_RESET, CTRL_WRITE_MOUSE); -#endif + if (!(i8042HwFlags & FL_INITHACK)) + { + i8042IsrWritePort(DeviceExtension, MOU_CMD_RESET, CTRL_WRITE_MOUSE); + } KeReleaseInterruptSpinLock(DeviceExtension->HighestDIRQLInterrupt, Irql); } Modified: trunk/reactos/include/ddk/wmiguid.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wmiguid.h?rev=…
============================================================================== --- trunk/reactos/include/ddk/wmiguid.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/wmiguid.h [iso-8859-1] Thu Mar 19 21:50:53 2015 @@ -25,22 +25,22 @@ #include <guiddef.h> #define DATA_PROVIDER_INFO_GUID \ - {0x5494dfdc, 0xa98a, 0x11d1, 0xbf, 0x43, 0x00, 0xa0, 0xc9, 0x06, 0x29, 0x10} + {0x5494dfdc, 0xa98a, 0x11d1, {0xbf, 0x43, 0x00, 0xa0, 0xc9, 0x06, 0x29, 0x10}} #define SMBIOS_DATA_GUID \ - {0x8f680850, 0xa584, 0x11d1, 0xbf, 0x38, 0x00, 0xa0, 0xc9, 0x06, 0x29, 0x10} + {0x8f680850, 0xa584, 0x11d1, {0xbf, 0x38, 0x00, 0xa0, 0xc9, 0x06, 0x29, 0x10}} #define INSTANCE_INFO_GUID \ - {0xc7bf35d0, 0xaadb, 0x11d1, 0xbf, 0x4a, 0x00, 0xa0, 0xc9, 0x6, 0x29, 0x10} + {0xc7bf35d0, 0xaadb, 0x11d1, {0xbf, 0x4a, 0x00, 0xa0, 0xc9, 0x06, 0x29, 0x10}} #define BINARY_MOF_GUID \ - {0x05901221, 0xD566, 0x11d1, 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10} + {0x05901221, 0xD566, 0x11d1, {0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10}} #define ENUMERATE_GUIDS_GUID \ - {0xe3dff7bd, 0x3915, 0x11d2, 0x91, 0x03, 0x00, 0xc0, 0x4f, 0xb9, 0x98, 0xa2} + {0xe3dff7bd, 0x3915, 0x11d2, {0x91, 0x03, 0x00, 0xc0, 0x4f, 0xb9, 0x98, 0xa2}} #define MS_SYSTEM_INFORMATIONGUID \ - {0x98a2b9d7, 0x94dd, 0x496a, {0x84, 0x7e, 0x67, 0xa5, 0x55, 0x7a, 0x59, 0xf2}} + {0x98a2b9d7, 0x94dd, 0x496a, {0x84, 0x7e, 0x67, 0xa5, 0x55, 0x7a, 0x59, 0xf2}} DEFINE_GUID(MS_SYSTEM_INFORMATION_GUID, \ 0x98a2b9d7, 0x94dd, 0x496a, 0x84, 0x7e, 0x67, 0xa5, 0x55, 0x7a, 0x59, 0xf2);
9 years, 9 months
1
0
0
0
[tkreuzer] 66822: [NTOSKRNL] Hackplement IoWMIOpenBlock and IoWMIQueryAllData. Just enough to query the SMBIOS tables.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Mar 19 21:31:20 2015 New Revision: 66822 URL:
http://svn.reactos.org/svn/reactos?rev=66822&view=rev
Log: [NTOSKRNL] Hackplement IoWMIOpenBlock and IoWMIQueryAllData. Just enough to query the SMBIOS tables. Added: trunk/reactos/ntoskrnl/wmi/smbios.c (with props) Modified: trunk/reactos/ntoskrnl/ntos.cmake trunk/reactos/ntoskrnl/wmi/guidobj.c trunk/reactos/ntoskrnl/wmi/wmi.c trunk/reactos/ntoskrnl/wmi/wmidrv.c trunk/reactos/ntoskrnl/wmi/wmip.h Modified: trunk/reactos/ntoskrnl/ntos.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntos.cmake?rev=66…
============================================================================== --- trunk/reactos/ntoskrnl/ntos.cmake [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ntos.cmake [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -270,6 +270,7 @@ ${REACTOS_SOURCE_DIR}/ntoskrnl/se/token.c ${REACTOS_SOURCE_DIR}/ntoskrnl/vf/driver.c ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/guidobj.c + ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/smbios.c ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/wmi.c ${REACTOS_SOURCE_DIR}/ntoskrnl/wmi/wmidrv.c) Modified: trunk/reactos/ntoskrnl/wmi/guidobj.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/guidobj.c?rev…
============================================================================== --- trunk/reactos/ntoskrnl/wmi/guidobj.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/wmi/guidobj.c [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -167,21 +167,12 @@ static NTSTATUS WmipCreateGuidObject( - _In_ PUNICODE_STRING GuidString, + _In_ const GUID *Guid, _Out_ PWMIP_GUID_OBJECT *OutGuidObject) { OBJECT_ATTRIBUTES ObjectAttributes; - GUID Guid; PWMIP_GUID_OBJECT GuidObject; NTSTATUS Status; - - /* Convert the string into a GUID structure */ - Status = WmipGUIDFromString(GuidString, &Guid); - if (!NT_SUCCESS(Status)) - { - DPRINT1("WMI: Invalid uuid format for guid '%wZ'\n", GuidString); - return Status; - } /* Initialize object attributes for an unnamed object */ InitializeObjectAttributes(&ObjectAttributes, @@ -207,7 +198,7 @@ } RtlZeroMemory(GuidObject, sizeof(*GuidObject)); - GuidObject->Guid = Guid; + GuidObject->Guid = *Guid; *OutGuidObject = GuidObject; @@ -217,37 +208,22 @@ NTSTATUS NTAPI WmipOpenGuidObject( - POBJECT_ATTRIBUTES ObjectAttributes, - ACCESS_MASK DesiredAccess, - KPROCESSOR_MODE AccessMode, - PHANDLE OutGuidObjectHandle, - PVOID *OutGuidObject) -{ - static UNICODE_STRING Prefix = RTL_CONSTANT_STRING(L"\\WmiGuid\\"); - UNICODE_STRING GuidString; + _In_ LPCGUID Guid, + _In_ ACCESS_MASK DesiredAccess, + _In_ KPROCESSOR_MODE AccessMode, + _Out_ PHANDLE OutGuidObjectHandle, + _Outptr_ PVOID *OutGuidObject) +{ + PWMIP_GUID_OBJECT GuidObject; ULONG HandleAttributes; - PWMIP_GUID_OBJECT GuidObject; - NTSTATUS Status; - PAGED_CODE(); - - /* Check if we have the expected prefix */ - if (!RtlPrefixUnicodeString(&Prefix, ObjectAttributes->ObjectName, FALSE)) - { - DPRINT1("WMI: Invalid prefix for guid object '%wZ'\n", - ObjectAttributes->ObjectName); - return STATUS_INVALID_PARAMETER; - } - - /* Extract the GUID string */ - GuidString = *ObjectAttributes->ObjectName; - GuidString.Buffer += Prefix.Length / sizeof(WCHAR); - GuidString.Length -= Prefix.Length; + NTSTATUS Status; /* Create the GUID object */ - Status = WmipCreateGuidObject(&GuidString, &GuidObject); + Status = WmipCreateGuidObject(Guid, &GuidObject); if (!NT_SUCCESS(Status)) { DPRINT1("Failed to create GUID object: 0x%lx\n", Status); + *OutGuidObject = NULL; return Status; } @@ -266,6 +242,7 @@ { DPRINT1("ObOpenObjectByPointer failed: 0x%lx\n", Status); ObfDereferenceObject(GuidObject); + GuidObject = NULL; } *OutGuidObject = GuidObject; @@ -273,3 +250,46 @@ return Status; } +NTSTATUS +NTAPI +WmipOpenGuidObjectByName( + _In_ POBJECT_ATTRIBUTES ObjectAttributes, + _In_ ACCESS_MASK DesiredAccess, + _In_ KPROCESSOR_MODE AccessMode, + _Out_ PHANDLE OutGuidObjectHandle, + _Outptr_ PVOID *OutGuidObject) +{ + static UNICODE_STRING Prefix = RTL_CONSTANT_STRING(L"\\WmiGuid\\"); + UNICODE_STRING GuidString; + NTSTATUS Status; + GUID Guid; + PAGED_CODE(); + + /* Check if we have the expected prefix */ + if (!RtlPrefixUnicodeString(&Prefix, ObjectAttributes->ObjectName, FALSE)) + { + DPRINT1("WMI: Invalid prefix for guid object '%wZ'\n", + ObjectAttributes->ObjectName); + return STATUS_INVALID_PARAMETER; + } + + /* Extract the GUID string */ + GuidString = *ObjectAttributes->ObjectName; + GuidString.Buffer += Prefix.Length / sizeof(WCHAR); + GuidString.Length -= Prefix.Length; + + /* Convert the string into a GUID structure */ + Status = WmipGUIDFromString(&GuidString, &Guid); + if (!NT_SUCCESS(Status)) + { + DPRINT1("WMI: Invalid uuid format for guid '%wZ'\n", GuidString); + return Status; + } + + return WmipOpenGuidObject(&Guid, + DesiredAccess, + AccessMode, + OutGuidObjectHandle, + OutGuidObject); +} + Added: trunk/reactos/ntoskrnl/wmi/smbios.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/smbios.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/wmi/smbios.c (added) +++ trunk/reactos/ntoskrnl/wmi/smbios.c [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -0,0 +1,279 @@ +/* + * PROJECT: ReactOS Kernel + * LICENSE: GPL - See COPYING in the top level directory + * FILE: ntoskrnl/io/wmi.c + * PURPOSE: I/O Windows Management Instrumentation (WMI) Support + * PROGRAMMERS: Alex Ionescu (alex.ionescu(a)reactos.org) + */ + +/* INCLUDES *****************************************************************/ + +#include <ntoskrnl.h> +#include <wmiguid.h> +#include <wmidata.h> +#include <wmistr.h> + +#include "wmip.h" + +#define NDEBUG +#include <debug.h> + + +/* FUNCTIONS *****************************************************************/ + +typedef struct _SMBIOS21_ENTRY_POINT +{ + CHAR AnchorString[4]; + UCHAR Checksum; + UCHAR Length; + UCHAR MajorVersion; + UCHAR MinorVersion; + USHORT MaxStructureSize; + UCHAR EntryPointRevision; + CHAR FormattedArea[5]; + CHAR AnchorString2[5]; + UCHAR Checksum2; + USHORT TableLength; + ULONG TableAddress; + USHORT NumberOfStructures; + UCHAR BCDRevision; +} SMBIOS21_ENTRY_POINT, *PSMBIOS21_ENTRY_POINT; + +typedef struct _SMBIOS30_ENTRY_POINT +{ + CHAR AnchorString[5]; + UCHAR Checksum; + UCHAR Length; + UCHAR MajorVersion; + UCHAR MinorVersion; + UCHAR Docref; + UCHAR Revision; + UCHAR Reserved; + ULONG TableMaxSize; + ULONG64 TableAddress; +} SMBIOS30_ENTRY_POINT, *PSMBIOS30_ENTRY_POINT; + +static +BOOLEAN +GetEntryPointData( + _In_ const UCHAR *EntryPointAddress, + _Out_ PULONG64 TableAddress, + _Out_ PULONG TableSize, + _Out_ PMSSmBios_RawSMBiosTables BiosTablesHeader) +{ + PSMBIOS21_ENTRY_POINT EntryPoint21; + PSMBIOS30_ENTRY_POINT EntryPoint30; + UCHAR Checksum; + ULONG i; + + /* Check for SMBIOS 2.1 entry point */ + EntryPoint21 = (PSMBIOS21_ENTRY_POINT)EntryPointAddress; + if (RtlEqualMemory(EntryPoint21->AnchorString, "_SM_", 4)) + { + if (EntryPoint21->Length > 32) + return FALSE; + + /* Calculate the checksum */ + Checksum = 0; + for (i = 0; i < EntryPoint21->Length; i++) + { + Checksum += EntryPointAddress[i]; + } + + if (Checksum != 0) + return FALSE; + + *TableAddress = EntryPoint21->TableAddress; + *TableSize = EntryPoint21->TableLength; + BiosTablesHeader->Used20CallingMethod = 0; + BiosTablesHeader->SmbiosMajorVersion = EntryPoint21->MajorVersion; + BiosTablesHeader->SmbiosMinorVersion = EntryPoint21->MinorVersion; + BiosTablesHeader->DmiRevision = 2; + BiosTablesHeader->Size = EntryPoint21->TableLength; + return TRUE; + } + + /* Check for SMBIOS 3.0 entry point */ + EntryPoint30 = (PSMBIOS30_ENTRY_POINT)EntryPointAddress; + if (RtlEqualMemory(EntryPoint30->AnchorString, "_SM3_", 5)) + { + if (EntryPoint30->Length > 32) + return FALSE; + + /* Calculate the checksum */ + Checksum = 0; + for (i = 0; i < EntryPoint30->Length; i++) + { + Checksum += EntryPointAddress[i]; + } + + if (Checksum != 0) + return FALSE; + + *TableAddress = EntryPoint30->TableAddress; + *TableSize = EntryPoint30->TableMaxSize; + BiosTablesHeader->Used20CallingMethod = 0; + BiosTablesHeader->SmbiosMajorVersion = EntryPoint30->MajorVersion; + BiosTablesHeader->SmbiosMinorVersion = EntryPoint30->MinorVersion; + BiosTablesHeader->DmiRevision = 3; + BiosTablesHeader->Size = EntryPoint30->TableMaxSize; + return TRUE; + } + + return FALSE; +} + +_At_(*OutTableData, __drv_allocatesMem(Mem)) +NTSTATUS +NTAPI +WmipGetRawSMBiosTableData( + _Outptr_opt_result_buffer_(*OutDataSize) PVOID *OutTableData, + _Out_ PULONG OutDataSize) +{ + static const SIZE_T SearchSize = 0x10000; + static const ULONG HeaderSize = FIELD_OFFSET(MSSmBios_RawSMBiosTables, SMBiosData); + PHYSICAL_ADDRESS PhysicalAddress; + PUCHAR EntryPointMapping; + MSSmBios_RawSMBiosTables BiosTablesHeader; + PVOID BiosTables, TableMapping; + ULONG Offset, TableSize; + ULONG64 TableAddress = 0; + + /* This is where the range for the entry point starts */ + PhysicalAddress.QuadPart = 0xF0000; + + /* Map the range into the system address space */ + EntryPointMapping = MmMapIoSpace(PhysicalAddress, SearchSize, MmCached); + if (EntryPointMapping == NULL) + { + DPRINT1("Failed to map range for SMBIOS entry point\n"); + return STATUS_UNSUCCESSFUL; + } + + /* Loop the table memory in 16 byte steps */ + for (Offset = 0; Offset <= (0x10000 - 32); Offset += 16) + { + /* Check if we have an entry point here and get it's data */ + if (GetEntryPointData(EntryPointMapping + Offset, + &TableAddress, + &TableSize, + &BiosTablesHeader)) + { + break; + } + } + + /* Unmap the entry point */ + MmUnmapIoSpace(EntryPointMapping, SearchSize); + + /* Did we find anything */ + if (TableAddress == 0) + { + DPRINT1("Could not find the SMBIOS entry point\n"); + return STATUS_NOT_FOUND; + } + + /* Check if the caller asked for the buffer */ + if (OutTableData != NULL) + { + /* Allocate a buffer for the result */ + BiosTables = ExAllocatePoolWithTag(PagedPool, + HeaderSize + TableSize, + 'BTMS'); + if (BiosTables == NULL) + { + DPRINT1("Failed to allocate %lu bytes for the SMBIOS table\n"); + return STATUS_INSUFFICIENT_RESOURCES; + } + + /* Copy the header */ + RtlCopyMemory(BiosTables, &BiosTablesHeader, HeaderSize); + + /* This is where the table is */ + PhysicalAddress.QuadPart = TableAddress; + + /* Map the table into the system address space */ + TableMapping = MmMapIoSpace(PhysicalAddress, TableSize, MmCached); + if (TableMapping == NULL) + { + return STATUS_UNSUCCESSFUL; + } + + /* Copy the table */ + RtlCopyMemory((PUCHAR)BiosTables + HeaderSize, TableMapping, TableSize); + + /* Unmap the table */ + MmUnmapIoSpace(TableMapping, TableSize); + + *OutTableData = BiosTables; + } + + *OutDataSize = HeaderSize + TableSize; + return STATUS_SUCCESS; +} + + +NTSTATUS +NTAPI +WmipQueryRawSMBiosTables( + _Inout_ ULONG *InOutBufferSize, + _Out_opt_ PVOID OutBuffer) +{ + NTSTATUS Status; + PVOID TableData = NULL; + ULONG TableSize, ResultSize; + PWNODE_ALL_DATA AllData; + + /* Get the table data */ + Status = WmipGetRawSMBiosTableData(OutBuffer ? &TableData : NULL, &TableSize); + if (!NT_SUCCESS(Status)) + { + DPRINT1("WmipGetRawSMBiosTableData failed: 0x08lx\n", Status); + return Status; + } + + ResultSize = sizeof(WNODE_ALL_DATA) + TableSize; + + /* Check if the caller provided a buffer */ + if ((OutBuffer != NULL) && (*InOutBufferSize != 0)) + { + /* Check if the buffer is large enough */ + if (*InOutBufferSize < ResultSize) + { + DPRINT1("Buffer too small. Got %lu, need %lu\n", + *InOutBufferSize, ResultSize); + return STATUS_BUFFER_TOO_SMALL; + } + + /// FIXME: most of this is fubar + AllData = OutBuffer; + AllData->WnodeHeader.BufferSize = ResultSize; + AllData->WnodeHeader.ProviderId = 0; + AllData->WnodeHeader.Version = 0; + AllData->WnodeHeader.Linkage = 0; // last entry + //AllData->WnodeHeader.CountLost; + AllData->WnodeHeader.KernelHandle = NULL; + //AllData->WnodeHeader.TimeStamp; + AllData->WnodeHeader.Guid = MSSmBios_RawSMBiosTables_GUID; + AllData->WnodeHeader.ClientContext; + AllData->WnodeHeader.Flags = WNODE_FLAG_FIXED_INSTANCE_SIZE; + AllData->DataBlockOffset = sizeof(WNODE_ALL_DATA); + AllData->InstanceCount = 1; + AllData->OffsetInstanceNameOffsets; + AllData->FixedInstanceSize = TableSize; + + RtlCopyMemory(AllData + 1, TableData, TableSize); + } + + /* Set the size */ + *InOutBufferSize = ResultSize; + + /* Free the table buffer */ + if (TableData != NULL) + { + ExFreePoolWithTag(TableData, 'BTMS'); + } + + return STATUS_SUCCESS; +} + Propchange: trunk/reactos/ntoskrnl/wmi/smbios.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/ntoskrnl/wmi/wmi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/wmi.c?rev=668…
============================================================================== --- trunk/reactos/ntoskrnl/wmi/wmi.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/wmi/wmi.c [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -9,6 +9,11 @@ /* INCLUDES *****************************************************************/ #include <ntoskrnl.h> +#define INITGUID +#include <wmiguid.h> +#include <wmidata.h> +#include <wmistr.h> + #include "wmip.h" #define NDEBUG @@ -106,25 +111,68 @@ */ NTSTATUS NTAPI -IoWMIOpenBlock(IN LPCGUID DataBlockGuid, - IN ULONG DesiredAccess, - OUT PVOID *DataBlockObject) -{ - UNIMPLEMENTED; - return STATUS_NOT_IMPLEMENTED; -} - -/* - * @unimplemented - */ -NTSTATUS -NTAPI -IoWMIQueryAllData(IN PVOID DataBlockObject, - IN OUT ULONG *InOutBufferSize, - OUT PVOID OutBuffer) -{ - UNIMPLEMENTED; - return STATUS_NOT_IMPLEMENTED; +IoWMIOpenBlock( + _In_ LPCGUID DataBlockGuid, + _In_ ULONG DesiredAccess, + _Out_ PVOID *DataBlockObject) +{ + HANDLE GuidObjectHandle; + NTSTATUS Status; + + /* Open the GIOD object */ + Status = WmipOpenGuidObject(DataBlockGuid, + DesiredAccess, + KernelMode, + &GuidObjectHandle, + DataBlockObject); + if (!NT_SUCCESS(Status)) + { + DPRINT1("WmipOpenGuidObject failed: 0x%lx\n", Status); + return Status; + } + + + return STATUS_SUCCESS; +} + +/* + * @unimplemented + */ +NTSTATUS +NTAPI +IoWMIQueryAllData( + IN PVOID DataBlockObject, + IN OUT ULONG *InOutBufferSize, + OUT PVOID OutBuffer) +{ + PWMIP_GUID_OBJECT GuidObject; + NTSTATUS Status; + + + Status = ObReferenceObjectByPointer(DataBlockObject, + WMIGUID_QUERY, + WmipGuidObjectType, + KernelMode); + if (!NT_SUCCESS(Status)) + { + return Status; + } + + GuidObject = DataBlockObject; + + /* Huge HACK! */ + if (IsEqualGUID(&GuidObject->Guid, &MSSmBios_RawSMBiosTables_GUID)) + { + Status = WmipQueryRawSMBiosTables(InOutBufferSize, OutBuffer); + } + else + { + Status = STATUS_NOT_SUPPORTED; + } + + ObDereferenceObject(DataBlockObject); + + return Status; } /* Modified: trunk/reactos/ntoskrnl/wmi/wmidrv.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/wmidrv.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/wmi/wmidrv.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/wmi/wmidrv.c [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -210,14 +210,14 @@ } /* Open a new GUID object */ - Status = WmipOpenGuidObject(&LocalObjectAttributes, - SPECIFIC_RIGHTS_ALL, - PreviousMode, - &GuidObjectHandle, - &GuidObject); - if (!NT_SUCCESS(Status)) - { - DPRINT1("WmipOpenGuidObject failed: 0x%lx\n", Status); + Status = WmipOpenGuidObjectByName(&LocalObjectAttributes, + SPECIFIC_RIGHTS_ALL, + PreviousMode, + &GuidObjectHandle, + &GuidObject); + if (!NT_SUCCESS(Status)) + { + DPRINT1("WmipOpenGuidObjectByName failed: 0x%lx\n", Status); return Status; } @@ -409,14 +409,14 @@ } /* Open a new GUID object */ - Status = WmipOpenGuidObject(&LocalObjectAttributes, - OpenGuidForEvents->DesiredAccess, - PreviousMode, - &GuidObjectHandle, - &GuidObject); - if (!NT_SUCCESS(Status)) - { - DPRINT1("WmipOpenGuidObject failed: 0x%lx\n", Status); + Status = WmipOpenGuidObjectByName(&LocalObjectAttributes, + OpenGuidForEvents->DesiredAccess, + PreviousMode, + &GuidObjectHandle, + &GuidObject); + if (!NT_SUCCESS(Status)) + { + DPRINT1("WmipOpenGuidObjectByName failed: 0x%lx\n", Status); return Status; } Modified: trunk/reactos/ntoskrnl/wmi/wmip.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/wmip.h?rev=66…
============================================================================== --- trunk/reactos/ntoskrnl/wmi/wmip.h [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/wmi/wmip.h [iso-8859-1] Thu Mar 19 21:31:20 2015 @@ -1,5 +1,7 @@ #pragma once + +extern POBJECT_TYPE WmipGuidObjectType; #define GUID_STRING_LENGTH 36 @@ -32,8 +34,24 @@ NTSTATUS NTAPI WmipOpenGuidObject( - POBJECT_ATTRIBUTES ObjectAttributes, - ACCESS_MASK DesiredAccess, - KPROCESSOR_MODE AccessMode, - PHANDLE OutGuidObjectHandle, - PVOID *OutGuidObject); + _In_ LPCGUID Guid, + _In_ ACCESS_MASK DesiredAccess, + _In_ KPROCESSOR_MODE AccessMode, + _Out_ PHANDLE OutGuidObjectHandle, + _Outptr_ PVOID *OutGuidObject); + +NTSTATUS +NTAPI +WmipOpenGuidObjectByName( + _In_ POBJECT_ATTRIBUTES ObjectAttributes, + _In_ ACCESS_MASK DesiredAccess, + _In_ KPROCESSOR_MODE AccessMode, + _Out_ PHANDLE OutGuidObjectHandle, + _Outptr_ PVOID *OutGuidObject); + +NTSTATUS +NTAPI +WmipQueryRawSMBiosTables( + _Inout_ ULONG *InOutBufferSize, + _Out_opt_ PVOID OutBuffer); +
9 years, 9 months
1
0
0
0
[hbelusca] 66821: [DDK]: Fix english [NTVDM]: Make export library. Define the Vdm(Un)MapFlat functions if needed.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Thu Mar 19 21:03:58 2015 New Revision: 66821 URL:
http://svn.reactos.org/svn/reactos?rev=66821&view=rev
Log: [DDK]: Fix english [NTVDM]: Make export library. Define the Vdm(Un)MapFlat functions if needed. Modified: trunk/reactos/include/ddk/vddsvc.h trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt trunk/reactos/subsystems/mvdm/ntvdm/memory.c Modified: trunk/reactos/include/ddk/vddsvc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/vddsvc.h?rev=6…
============================================================================== --- trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] Thu Mar 19 21:03:58 2015 @@ -86,7 +86,7 @@ _In_ ULONG Address, _In_ BOOLEAN ProtectedMode); -/* This API appears to have been never implemented anywhere... */ +/* This API appears to have never been implemented anywhere... */ #define Sim32FreeVDMPointer(Address, Size, Buffer, Mode) TRUE #define GetVDMAddress(usSeg, usOff) (((ULONG)(usSeg) << 4) + (ULONG)(usOff)) Modified: trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/CMak…
============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt [iso-8859-1] Thu Mar 19 21:03:58 2015 @@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486) -spec2def(ntvdm.exe ntvdm.spec) +spec2def(ntvdm.exe ntvdm.spec ADD_IMPORTLIB) list(APPEND SOURCE bios/bios32/bios32.c Modified: trunk/reactos/subsystems/mvdm/ntvdm/memory.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/memo…
============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/memory.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/memory.c [iso-8859-1] Thu Mar 19 21:03:58 2015 @@ -321,6 +321,8 @@ return SEG_OFF_TO_PTR(Segment, Offset); } +#ifndef VdmFlushCache + BOOL WINAPI VdmFlushCache(IN USHORT Segment, @@ -333,6 +335,10 @@ return TRUE; } +#endif + +#ifndef VdmUnmapFlat + BOOL WINAPI VdmUnmapFlat(IN USHORT Segment, @@ -344,6 +350,8 @@ UNIMPLEMENTED; return TRUE; } + +#endif BOOL WINAPI
9 years, 9 months
1
0
0
0
[hbelusca] 66820: [DDK]: Update VDD headers.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Thu Mar 19 21:00:25 2015 New Revision: 66820 URL:
http://svn.reactos.org/svn/reactos?rev=66820&view=rev
Log: [DDK]: Update VDD headers. Modified: trunk/reactos/include/ddk/nt_vdd.h trunk/reactos/include/ddk/vddsvc.h Modified: trunk/reactos/include/ddk/nt_vdd.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/nt_vdd.h?rev=6…
============================================================================== --- trunk/reactos/include/ddk/nt_vdd.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/nt_vdd.h [iso-8859-1] Thu Mar 19 21:00:25 2015 @@ -191,25 +191,19 @@ PVOID FaultAddress, ULONG RWMode); -PBYTE -WINAPI -Sim32pGetVDMPointer( - _In_ ULONG Address, - _In_ BOOLEAN ProtectedMode); - -PBYTE -WINAPI -MGetVdmPointer( - _In_ ULONG Address, - _In_ ULONG Size, - _In_ BOOLEAN ProtectedMode); - PVOID WINAPI VdmMapFlat( _In_ USHORT Segment, _In_ ULONG Offset, _In_ VDM_MODE Mode); + +#ifdef _X86_ + +#define VdmFlushCache(sel, off, len, mode) TRUE +#define VdmUnmapFlat(sel, off, buf, mode) TRUE + +#else BOOL WINAPI @@ -227,6 +221,8 @@ _In_ PVOID Buffer, _In_ VDM_MODE Mode); +#endif + BOOL WINAPI VDDInstallMemoryHook( Modified: trunk/reactos/include/ddk/vddsvc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/vddsvc.h?rev=6…
============================================================================== --- trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] Thu Mar 19 21:00:25 2015 @@ -34,15 +34,71 @@ VOID WINAPI -call_ica_hw_interrupt -( - INT ms, - BYTE line, - INT count -); - -#define VDDSimulateInterrupt(ms, line, count) \ +call_ica_hw_interrupt( + _In_ INT ms, + _In_ BYTE line, + _In_ INT count); + +#define VDDSimulateInterrupt(ms, line, count) \ call_ica_hw_interrupt((ms), (line), (count)) // Windows specifies a count of 1 ... + + +/* + * Memory services + */ + +#ifdef i386 + +PBYTE +WINAPI +MGetVdmPointer( + _In_ ULONG Address, + _In_ ULONG Size, + _In_ BOOLEAN ProtectedMode); + +#define Sim32GetVDMPointer(Address, Size, Mode) \ + MGetVdmPointer((Address), (Size), (Mode)) + +#define Sim32FlushVDMPointer(Address, Size, Buffer, Mode) TRUE + +#else + +PBYTE +WINAPI +Sim32GetVDMPointer( + _In_ ULONG Address, + _In_ ULONG Size, + _In_ BOOLEAN ProtectedMode); + +BOOLEAN +WINAPI +Sim32FlushVDMPointer( + _In_ ULONG Address, + _In_ ULONG Size, + _In_ PBYTE Buffer, + _In_ BOOLEAN ProtectedMode); + +#endif + +PBYTE +WINAPI +Sim32pGetVDMPointer( + _In_ ULONG Address, + _In_ BOOLEAN ProtectedMode); + +/* This API appears to have been never implemented anywhere... */ +#define Sim32FreeVDMPointer(Address, Size, Buffer, Mode) TRUE + +#define GetVDMAddress(usSeg, usOff) (((ULONG)(usSeg) << 4) + (ULONG)(usOff)) + +#define GetVDMPointer(Address, Size, Mode) \ + Sim32GetVDMPointer(Address, Size, Mode) + +#define FlushVDMPointer(Address, Size, Buffer, Mode) \ + Sim32FlushVDMPointer(Address, Size, Buffer, Mode) + +#define FreeVDMPointer(Address, Size, Buffer, Mode) \ + Sim32FreeVDMPointer(Address, Size, Buffer, Mode) /*
9 years, 9 months
1
0
0
0
[khornicek] 66819: [RAPPS] - disable redrawing while the application list is being updated (suggested by Christoph)
by khornicek@svn.reactos.org
Author: khornicek Date: Thu Mar 19 20:19:27 2015 New Revision: 66819 URL:
http://svn.reactos.org/svn/reactos?rev=66819&view=rev
Log: [RAPPS] - disable redrawing while the application list is being updated (suggested by Christoph) Modified: trunk/reactos/base/applications/rapps/winmain.c Modified: trunk/reactos/base/applications/rapps/winmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
============================================================================== --- trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] Thu Mar 19 20:19:27 2015 @@ -196,6 +196,8 @@ HICON hIcon; HIMAGELIST hImageListView; + SendMessage(hListView, WM_SETREDRAW, FALSE, 0); + (VOID) ListView_DeleteAllItems(hListView); /* Create image list */ @@ -253,6 +255,8 @@ /* set automatic column width for program names if the list is not empty */ if (ListView_GetItemCount(hListView) > 0) ListView_SetColumnWidth(hListView, 0, LVSCW_AUTOSIZE); + + SendMessage(hListView, WM_SETREDRAW, TRUE, 0); } VOID
9 years, 9 months
1
0
0
0
[hbelusca] 66818: [RAPPS]: Fix french translation.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Thu Mar 19 20:07:33 2015 New Revision: 66818 URL:
http://svn.reactos.org/svn/reactos?rev=66818&view=rev
Log: [RAPPS]: Fix french translation. Modified: trunk/reactos/base/applications/rapps/lang/fr-FR.rc Modified: trunk/reactos/base/applications/rapps/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
============================================================================== --- trunk/reactos/base/applications/rapps/lang/fr-FR.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/lang/fr-FR.rc [iso-8859-1] Thu Mar 19 20:07:33 2015 @@ -10,8 +10,8 @@ END POPUP "&Programmes" BEGIN - MENUITEM "&Installer\tCtrl+Enter", ID_INSTALL - MENUITEM "&Désinstaller\tCtrl+Del", ID_UNINSTALL + MENUITEM "&Installer\tCtrl+Entrée", ID_INSTALL + MENUITEM "&Désinstaller\tCtrl+Suppr", ID_UNINSTALL MENUITEM "&Modifier", ID_MODIFY MENUITEM SEPARATOR MENUITEM "&Supprimer du registre", ID_REGREMOVE @@ -40,8 +40,8 @@ BEGIN POPUP "popup" BEGIN - MENUITEM "&Installer\tCtrl+Enter", ID_INSTALL - MENUITEM "&Désinstaller\tCtrl+Del", ID_UNINSTALL + MENUITEM "&Installer\tCtrl+Entrée", ID_INSTALL + MENUITEM "&Désinstaller\tCtrl+Suppr", ID_UNINSTALL MENUITEM "&Modifier", ID_MODIFY MENUITEM SEPARATOR MENUITEM "&Supprimer du registre", ID_REGREMOVE @@ -129,15 +129,15 @@ STRINGTABLE BEGIN - IDS_INFO_VERSION "\nVersion: " - IDS_INFO_DESCRIPTION "\nDescription: " + IDS_INFO_VERSION "\nVersion : " + IDS_INFO_DESCRIPTION "\nDescription : " IDS_INFO_PUBLISHER "\nAuteur : " IDS_INFO_HELPLINK "\nLien d'aide : " IDS_INFO_HELPPHONE "\nTéléphone d'aide : " IDS_INFO_README "\nLisez-moi : " IDS_INFO_REGOWNER "\nUtilisateur enregistré : " IDS_INFO_PRODUCTID "\nID du produit : " - IDS_INFO_CONTACT "\nContact: " + IDS_INFO_CONTACT "\nContact : " IDS_INFO_UPDATEINFO "\nInformation de mise à jour : " IDS_INFO_INFOABOUT "\nInformation à propos : " IDS_INFO_COMMENTS "\nCommentaires : " @@ -150,11 +150,11 @@ STRINGTABLE BEGIN - IDS_AINFO_VERSION "\nVersion: " - IDS_AINFO_DESCRIPTION "\nDescription: " + IDS_AINFO_VERSION "\nVersion : " + IDS_AINFO_DESCRIPTION "\nDescription : " IDS_AINFO_SIZE "\nTaille : " IDS_AINFO_URLSITE "\nSite internet : " - IDS_AINFO_LICENSE "\nLicense: " + IDS_AINFO_LICENSE "\nLicence : " END STRINGTABLE
9 years, 9 months
1
0
0
0
[akhaldi] 66817: [CLT2015] Grab r66812, r66814 and co (Rapps improvements).
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Mar 19 19:45:48 2015 New Revision: 66817 URL:
http://svn.reactos.org/svn/reactos?rev=66817&view=rev
Log: [CLT2015] Grab r66812, r66814 and co (Rapps improvements). Removed: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/parser.c Modified: branches/ReactOS-0.3.17-CLT2015/reactos/ (props changed) branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CMakeLists.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CreateCabFile.bat branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CreateCabFile.sh branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/available.c branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/bg-BG.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/cs-CZ.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/de-DE.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/en-US.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/es-ES.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/fr-FR.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/he-IL.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/it-IT.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ja-JP.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/no-NO.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/pl-PL.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/pt-BR.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ro-RO.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ru-RU.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sk-SK.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sq-AL.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sv-SE.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/tr-TR.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/uk-UA.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/zh-CN.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/zh-TW.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/misc.c branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps.h branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps.rc branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/abyss.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ac97forvirtualbox.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/akelpad.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/alreader.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/audiograbber.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/bittorrent.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/bochs.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/boswars.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/boundaround.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/christmasbound.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/chromium.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/cnt.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks_gcc.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks_gcc_2.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/comctl32ocx.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/devcpp_tdm_gcc_x64.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/diablo2.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dosblaster.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/doublecommander.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dplus.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dvdwritenow.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/excelview.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/fira.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox28.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox36.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/foxit.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ghostscript.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ghostview.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/glidewrapzbag.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/globulation2.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/hover.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/hxd.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/mirandaim.txt branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/resource.h branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/winmain.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CreateCabFile.bat URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/CreateCabFile.sh URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/available.c URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/he-IL.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ro-RO.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sq-AL.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/misc.c URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Removed: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/parser.c URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps.h URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps.rc URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/abyss.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ac97forvirtualbox.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/akelpad.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/alreader.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/audiograbber.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/bittorrent.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/bochs.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/boswars.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/boundaround.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/christmasbound.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/chromium.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/cnt.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks_gcc.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/codeblocks_gcc_2.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/comctl32ocx.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/devcpp_tdm_gcc_x64.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/diablo2.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dosblaster.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/doublecommander.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dplus.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/dvdwritenow.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/excelview.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/fira.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox28.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/firefox36.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/foxit.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ghostscript.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/ghostview.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/glidewrapzbag.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/globulation2.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/hover.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/hxd.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/rapps/mirandaim.txt URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/resource.h URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
Modified: branches/ReactOS-0.3.17-CLT2015/reactos/base/applications/rapps/winmain.c URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.3.17-CLT2015/reactos/…
9 years, 9 months
1
0
0
0
[akhaldi] 66816: [RAPPS] Fix build.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Mar 19 19:43:57 2015 New Revision: 66816 URL:
http://svn.reactos.org/svn/reactos?rev=66816&view=rev
Log: [RAPPS] Fix build. Modified: trunk/reactos/base/applications/rapps/available.c trunk/reactos/base/applications/rapps/misc.c trunk/reactos/base/applications/rapps/rapps.h trunk/reactos/base/applications/rapps/winmain.c Modified: trunk/reactos/base/applications/rapps/available.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/av…
============================================================================== --- trunk/reactos/base/applications/rapps/available.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/available.c [iso-8859-1] Thu Mar 19 19:43:57 2015 @@ -7,7 +7,6 @@ * Ismael Ferreras Morezuelas (swyterzone+ros(a)gmail.com) */ -#include <ndk/rtlfuncs.h> #include "rapps.h" #define ADD_TEXT(a, b, c, d) \ Modified: trunk/reactos/base/applications/rapps/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/mi…
============================================================================== --- trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] Thu Mar 19 19:43:57 2015 @@ -8,7 +8,6 @@ */ #include "rapps.h" -#include <ndk/rtlfuncs.h> /* SESSION Operation */ #define EXTRACT_FILLFILELIST 0x00000001 Modified: trunk/reactos/base/applications/rapps/rapps.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
============================================================================== --- trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] Thu Mar 19 19:43:57 2015 @@ -20,6 +20,7 @@ #include <shlwapi.h> #include <stdio.h> #include <strsafe.h> +#include <ndk/rtlfuncs.h> #include <rappsmsg.h> Modified: trunk/reactos/base/applications/rapps/winmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
============================================================================== --- trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] Thu Mar 19 19:43:57 2015 @@ -7,8 +7,9 @@ * Ismael Ferreras Morezuelas (swyterzone+ros(a)gmail.com) */ +#include "rapps.h" + #include <shellapi.h> -#include "rapps.h" #define SEARCH_TIMER_ID 'SR'
9 years, 9 months
1
0
0
0
[khornicek] 66815: fix build?
by khornicek@svn.reactos.org
Author: khornicek Date: Thu Mar 19 19:41:25 2015 New Revision: 66815 URL:
http://svn.reactos.org/svn/reactos?rev=66815&view=rev
Log: fix build? Modified: trunk/reactos/base/applications/rapps/misc.c Modified: trunk/reactos/base/applications/rapps/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/mi…
============================================================================== --- trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] Thu Mar 19 19:41:25 2015 @@ -7,8 +7,8 @@ * Ismael Ferreras Morezuelas (swyterzone+ros(a)gmail.com) */ +#include "rapps.h" #include <ndk/rtlfuncs.h> -#include "rapps.h" /* SESSION Operation */ #define EXTRACT_FILLFILELIST 0x00000001
9 years, 9 months
1
0
0
0
[khornicek] 66814: [RAPPS] - remove the custom parser, add caching, accelerators and lazy loading support and more (patch by Ismael Ferreras Morezuelas) - modifications by me: - don't rely on an un...
by khornicek@svn.reactos.org
Author: khornicek Date: Thu Mar 19 19:26:14 2015 New Revision: 66814 URL:
http://svn.reactos.org/svn/reactos?rev=66814&view=rev
Log: [RAPPS] - remove the custom parser, add caching, accelerators and lazy loading support and more (patch by Ismael Ferreras Morezuelas) - modifications by me: - don't rely on an undocumented behavior when calling GetPrivateProfileStringW and check the return value instead (should get fixed in kernel32 too) - modify the packaging scripts so the resulting CAB file contains UTF16 encoded files and remove the re-encoding hack from the patch (this is backwards compatible as the previous parser implementation was UTF16 aware) CORE-9060 Removed: trunk/reactos/base/applications/rapps/parser.c Modified: trunk/reactos/base/applications/rapps/CMakeLists.txt trunk/reactos/base/applications/rapps/CreateCabFile.bat trunk/reactos/base/applications/rapps/CreateCabFile.sh trunk/reactos/base/applications/rapps/available.c trunk/reactos/base/applications/rapps/lang/bg-BG.rc trunk/reactos/base/applications/rapps/lang/cs-CZ.rc trunk/reactos/base/applications/rapps/lang/de-DE.rc trunk/reactos/base/applications/rapps/lang/en-US.rc trunk/reactos/base/applications/rapps/lang/es-ES.rc trunk/reactos/base/applications/rapps/lang/fr-FR.rc trunk/reactos/base/applications/rapps/lang/he-IL.rc trunk/reactos/base/applications/rapps/lang/it-IT.rc trunk/reactos/base/applications/rapps/lang/ja-JP.rc trunk/reactos/base/applications/rapps/lang/no-NO.rc trunk/reactos/base/applications/rapps/lang/pl-PL.rc trunk/reactos/base/applications/rapps/lang/pt-BR.rc trunk/reactos/base/applications/rapps/lang/ro-RO.rc trunk/reactos/base/applications/rapps/lang/ru-RU.rc trunk/reactos/base/applications/rapps/lang/sk-SK.rc trunk/reactos/base/applications/rapps/lang/sq-AL.rc trunk/reactos/base/applications/rapps/lang/sv-SE.rc trunk/reactos/base/applications/rapps/lang/tr-TR.rc trunk/reactos/base/applications/rapps/lang/uk-UA.rc trunk/reactos/base/applications/rapps/lang/zh-CN.rc trunk/reactos/base/applications/rapps/lang/zh-TW.rc trunk/reactos/base/applications/rapps/misc.c trunk/reactos/base/applications/rapps/rapps.h trunk/reactos/base/applications/rapps/rapps.rc trunk/reactos/base/applications/rapps/resource.h trunk/reactos/base/applications/rapps/winmain.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/base/applications/rapps/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/CM…
Modified: trunk/reactos/base/applications/rapps/CreateCabFile.bat URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/Cr…
Modified: trunk/reactos/base/applications/rapps/CreateCabFile.sh URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/Cr…
Modified: trunk/reactos/base/applications/rapps/available.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/av…
Modified: trunk/reactos/base/applications/rapps/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/he-IL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/ro-RO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/sq-AL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/la…
Modified: trunk/reactos/base/applications/rapps/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/mi…
Removed: trunk/reactos/base/applications/rapps/parser.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/pa…
Modified: trunk/reactos/base/applications/rapps/rapps.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
Modified: trunk/reactos/base/applications/rapps/rapps.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
Modified: trunk/reactos/base/applications/rapps/resource.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/re…
Modified: trunk/reactos/base/applications/rapps/winmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
9 years, 9 months
1
0
0
0
← Newer
1
...
16
17
18
19
20
21
22
...
50
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Results per page:
10
25
50
100
200