* Missed some assignments in debug.c.

* Add a dummy allow_warnings() for msvc build.

svn path=/trunk/; revision=53682
This commit is contained in:
Amine Khaldi
2011-09-11 00:44:13 +00:00
parent 0864fd08d6
commit f904ba5cf9
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -214,3 +214,6 @@ function(CreateBootSectorTarget2 _target_name _asm_file _binary_file _base_addre
add_custom_target(${_target_name} ALL DEPENDS ${_binary_file})
endfunction()
function(allow_warnings __module)
endfunction()
+2 -2
View File
@@ -182,11 +182,11 @@ PciDebugIrpDispatchDisplay(IN PIO_STACK_LOCATION IoStackLocation,
/* Choose the correct debug level based on which function this is */
if (IoStackLocation->MajorFunction == IRP_MJ_POWER)
{
DebugLevel = 0x400;
//DebugLevel = 0x400;
}
else if (IoStackLocation->MajorFunction == IRP_MJ_PNP)
{
DebugLevel = 0x100;
//DebugLevel = 0x100;
}
/* For an FDO, just dump the extension pointer and IRP string */