Newer
Older
AMI-Aptio-BIOS-Reversed / EarlyVideoPei / ImageRenderCheckContext.c
@Ajax Dong Ajax Dong 2 days ago 241 bytes Init
int __fastcall ImageRenderCheckContext(_DWORD *p_count, void *count)
{
  int Pool; // eax

  if ( !p_count )
    return -1;
  Pool = PeiAllocatePool(count);
  if ( !Pool )
    return -1;
  p_count[1] = Pool;
  *p_count = count;
  return 0;
}