HalpPreserveNvsArea

VOID __stdcall HalpPreserveNvsArea(){
  unsigned int v0; 
  __int64 v1; 
  unsigned int *v2; 
  v0 = 0;
  if( !HalpDisableNvsSaveRestore && HalpNvsRegionCount )
  {
    v1 = (unsigned int)HalpNvsRegionCount;
    v2 = (unsigned int *)(HalpNvsRegionData + 8);
    do
    {
      memmove((UINT8 *)(HalpNvsPreservedData + v0), *((UINT8 **)v2 + 1), *v2);
      v0 += *v2;
      v2 += 6;
      --v1;
    }
    while( v1 );
  }
}

Referenced by:

HalpAcpiPreSleep