[ACPI]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 18 Jan 2014 00:50:10 +0000 (00:50 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 18 Jan 2014 00:50:10 +0000 (00:50 +0000)
commit48912992a4c196258a918707f22eb600a7ae83ff
tree80b8bdb0db14caa8c2431dea5f83d99d3f15a845
parentade4c1fae8283d0d3a7ef8336391f9d5dca1e767
[ACPI]
- Fix AcpiRegQueryValue, to allow querying the required buffer size only (which was already used, but just didn't work)
- Fix GetProcessorInformation. Previously the function failed at the start, but no one checked the return value. Check return values of called functions, and properly NULL-Terminate the components of the REG_MULTI_SZ style value that  ProcessorHardwareIds is supposed to be.
- Fix NULL-termination in Bus_PDO_QueryDeviceId as well as clean up the code, fix indentation and broken if/else cases
- Add some ASSERTs and comments

svn path=/trunk/; revision=61666
reactos/drivers/bus/acpi/buspdo.c
reactos/drivers/bus/acpi/main.c