MOS Source Code
Loading...
Searching...
No Matches
ipi.hpp File Reference
#include <mos/types.h>
#include <mos/types.hpp>
+ Include dependency graph for ipi.hpp:
+ 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 22 of file ipi.hpp.

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 12 of file ipi.hpp.

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 )

Referenced by ipi_send().

◆ ipi_send_all()

◆ ipi_do_handle()

void ipi_do_handle ( ipi_type_t type)