ReactOS 0.4.16-dev-257-g6aa11ac
mps.c File Reference
#include <hal.h>
#include <smp.h>
#include <debug.h>
Include dependency graph for mps.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID HalpParseApicTables (_In_ PLOADER_PARAMETER_BLOCK LoaderBlock)
 
VOID HalpPrintApicTables (VOID)
 

Variables

static ULONG PhysicalProcessorCount
 
static PROCESSOR_IDENTITY HalpStaticProcessorIdentity [MAXIMUM_PROCESSORS]
 
const PPROCESSOR_IDENTITY HalpProcessorIdentity = HalpStaticProcessorIdentity
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file mps.c.

Function Documentation

◆ HalpParseApicTables()

VOID HalpParseApicTables ( _In_ PLOADER_PARAMETER_BLOCK  LoaderBlock)

Definition at line 27 of file mps.c.

29{
30 UNREFERENCED_PARAMETER(LoaderBlock);
31
32 // TODO: Fill HalpStaticProcessorIdentity[].
34}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325

◆ HalpPrintApicTables()

VOID HalpPrintApicTables ( VOID  )

Definition at line 37 of file mps.c.

38{
39#if DBG
40 ULONG i;
41
42 DPRINT1("Physical processor count: %lu\n", PhysicalProcessorCount);
43 for (i = 0; i < PhysicalProcessorCount; i++)
44 {
45 DPRINT1(" Processor %lu: ProcessorId %u, LapicId %u, ProcessorStarted %u, BSPCheck %u, ProcessorPrcb %p\n",
46 i,
47 HalpProcessorIdentity[i].ProcessorId,
48 HalpProcessorIdentity[i].LapicId,
49 HalpProcessorIdentity[i].ProcessorStarted,
50 HalpProcessorIdentity[i].BSPCheck,
51 HalpProcessorIdentity[i].ProcessorPrcb);
52 }
53#endif
54}
#define DPRINT1
Definition: precomp.h:8
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static ULONG PhysicalProcessorCount
Definition: mps.c:19
const PPROCESSOR_IDENTITY HalpProcessorIdentity
Definition: mps.c:22
uint32_t ULONG
Definition: typedefs.h:59

Variable Documentation

◆ HalpProcessorIdentity

◆ HalpStaticProcessorIdentity

PROCESSOR_IDENTITY HalpStaticProcessorIdentity[MAXIMUM_PROCESSORS]
static

Definition at line 21 of file mps.c.

◆ PhysicalProcessorCount

ULONG PhysicalProcessorCount
static

Definition at line 19 of file mps.c.

Referenced by HalpPrintApicTables().