metal-cos/sys/amd64/include/mp.h

18 lines
294 B
C
Raw Normal View History

#ifndef __MACHINE_MP_H__
#define __MACHINE_MP_H__
void MP_Init();
void MP_InitAP();
2015-02-16 23:19:38 +00:00
/* Cross Calls */
typedef int (*CrossCallCB)(void *);
void MP_CrossCallTrap();
int MP_CrossCall(CrossCallCB cb, void *arg);
uint32_t LAPIC_CPU();
#define THISCPU LAPIC_CPU
#endif /* __MACHINE_MP__ */