mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NDK] Add Affinity helper inline functions
This commit is contained in:
@@ -7,15 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define AFFINITY_MASK(Id) ((KAFFINITY)1 << (Id))
|
||||
|
||||
/* Helper to find the lowest CPU in a KAFFINITY */
|
||||
#ifdef _WIN64
|
||||
#define BitScanForwardAffinity BitScanForward64
|
||||
#else
|
||||
#define BitScanForwardAffinity BitScanForward
|
||||
#endif
|
||||
|
||||
/* This table is filled for each physical processor on system */
|
||||
typedef struct _PROCESSOR_IDENTITY
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user