MOS Source Code
Loading...
Searching...
No Matches
ipi.h File Reference
#include <mos/types.h>
+ Include dependency graph for ipi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TARGET_CPU_ALL   0xFF
 

Enumerations

enum  ipi_type_t { IPI_TYPE_HALT = 0 , IPI_TYPE_INVALIDATE_TLB , IPI_TYPE_RESCHEDULE , IPI_TYPE_MAX }
 The type of IPI to send. More...
 

Functions

 MOS_STATIC_ASSERT (IPI_TYPE_MAX<=(u8) 0xFF, "IPI_TYPE_MAX must fit in a u8")
 
void ipi_send (u8 target, ipi_type_t type)
 
void ipi_send_all (ipi_type_t type)
 
void ipi_do_handle (ipi_type_t type)
 

Macro Definition Documentation

◆ TARGET_CPU_ALL

#define TARGET_CPU_ALL   0xFF

Definition at line 21 of file ipi.h.

Referenced by platform_ipi_send().

Enumeration Type Documentation

◆ ipi_type_t

enum ipi_type_t

The type of IPI to send.

Enumerator
IPI_TYPE_HALT 
IPI_TYPE_INVALIDATE_TLB 
IPI_TYPE_RESCHEDULE 
IPI_TYPE_MAX 

Definition at line 11 of file ipi.h.

Function Documentation

◆ MOS_STATIC_ASSERT()

MOS_STATIC_ASSERT ( IPI_TYPE_MAX<=(u8) 0xFF,
"IPI_TYPE_MAX must fit in a u8"  )

◆ ipi_send()

void ipi_send ( u8 target,
ipi_type_t type )

◆ ipi_send_all()

void ipi_send_all ( ipi_type_t type)

◆ ipi_do_handle()

void ipi_do_handle ( ipi_type_t type)

Referenced by x86_interrupt_entry().