Skip to content

Commit

Permalink
hdaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Nov 12, 2024
1 parent ec148dc commit f40bfa6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dll/win32/wdmaud.drv/wdmaud.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <debug.h>
#include <mmebuddy_debug.h>

#define USE_MMIXER_LIB
//#define USE_MMIXER_LIB
#ifndef USE_MMIXER_LIB
#define FUNC_NAME(x) x##ByLegacy
#else
Expand Down
2 changes: 1 addition & 1 deletion ntoskrnl/ke/timerobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ KeCancelTimer(IN OUT PKTIMER Timer)
{
KIRQL OldIrql;
BOOLEAN Inserted;
ASSERT_TIMER(Timer);
//ASSERT_TIMER(Timer);
ASSERT(KeGetCurrentIrql() <= DISPATCH_LEVEL);
DPRINT("KeCancelTimer(): Timer %p\n", Timer);

Expand Down
8 changes: 4 additions & 4 deletions ntoskrnl/mm/ARM3/mdlsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,10 @@ MmMapLockedPagesSpecifyCache(IN PMDL Mdl,
//
// Sanity checks
//
ASSERT((Mdl->MdlFlags & (MDL_MAPPED_TO_SYSTEM_VA |
MDL_SOURCE_IS_NONPAGED_POOL |
MDL_PARTIAL_HAS_BEEN_MAPPED)) == 0);
ASSERT((Mdl->MdlFlags & (MDL_PAGES_LOCKED | MDL_PARTIAL)) != 0);
//ASSERT((Mdl->MdlFlags & (MDL_MAPPED_TO_SYSTEM_VA |
// MDL_SOURCE_IS_NONPAGED_POOL |
// MDL_PARTIAL_HAS_BEEN_MAPPED)) == 0);
//ASSERT((Mdl->MdlFlags & (MDL_PAGES_LOCKED | MDL_PARTIAL)) != 0);

//
// Get the correct cache type
Expand Down
3 changes: 2 additions & 1 deletion ntoskrnl/se/accesschk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1429,13 +1429,14 @@ SepAccessCheckWorker(
goto ReturnCommonStatus;
}

ReturnCommonStatus: // HACK
/*
* If we're here then we granted all the desired
* access rights the caller wanted.
*/
Status = STATUS_SUCCESS;

ReturnCommonStatus:
//ReturnCommonStatus:
if (!UseResultList)
{
*GrantedAccessList = PreviouslyGrantedAccess;
Expand Down

0 comments on commit f40bfa6

Please sign in to comment.