wiki:spec/Bmc

Version 2 (modified by fujisft-kaji, 17 months ago) ( diff )

--

BSWMulticore Library


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R21-11
Bmc_FlagTestAndSet 1 0x01
Bmc_FlagClear 2 0x02
Bmc_Load_<TypeMn> 16 to 23 0x10 to 0x17
Bmc_Store_<TypeMn> 32 to 39 0x20 to 0x27
Bmc_Exchange_<TypeMn> 48 to 55 0x30 to 0x37
Bmc_CompareExchange_<TypeMn> 64 to 71 0x40 to 0x47
Bmc_FetchAdd_<TypeMn> 80 to 87 0x50 to 0x57
Bmc_FetchSub_<TypeMn> 96 to 103 0x60 to 0x67
Bmc_FetchOr_<TypeMn> 112 to 119 0x70 to 0x77
Bmc_FetchXor_<TypeMn> 128 to 135 0x80 to 0x87
Bmc_FetchAnd_<TypeMn> 144 to 151 0x90 to 0x97
Bmc_ThreadFence 3 0x03
Bmc_GetVersionInfo 255 0xFF

API仕様

Bmc_FlagTestAndSet

boolean Bmc_FlagTestAndSet (volatile boolean* Object)

Bmc_FlagClear

void Bmc_FlagClear (volatile boolean* Object)

Bmc_Load_<TypeMn>

<Type> Bmc_Load_<TypeMn> (const volatile <Type>* Object)
Service ID[hex] Function prototype
0x10 uint8 Bmc_Load_u8(const volatile uint8*);
0x11 uint16 Bmc_Load_u16(const volatile uint16*);
0x12 uint32 Bmc_Load_u32(const volatile uint32*);
0x13 uint64 Bmc_Load_u64(const volatile uint64*);
0x14 sint8 Bmc_Load_s8(const volatile sint8*);
0x15 sint16 Bmc_Load_s16(const volatile sint16*);
0x16 sint32 Bmc_Load_s32(const volatile sint32*);
0x17 sint64 Bmc_Load_s64(const volatile sint64*);

Bmc_Store_<TypeMn>

void Bmc_Store_<TypeMn> (volatile <Type>* Object, <Type> Desired)

Bmc_Exchange_<TypeMn>

<Type> Bmc_Exchange_<TypeMn> (const volatile <Type>* Object, <Type> Desired)

Bmc_CompareExchange_<TypeMn>

boolean Bmc_CompareExchange_<TypeMn> (volatile <Type>* Object, <Type>* Expected, <Type> Desired)

Bmc_FetchAdd_<TypeMn>

<Type> Bmc_FetchAdd_<TypeMn> (volatile <Type>* Object, <Type> Operand)

Bmc_FetchSub_<TypeMn>

<Type> Bmc_FetchSub_<TypeMn> (volatile <Type>* Object, <Type> Operand)

Bmc_FetchOr_<TypeMn>

<Type> Bmc_FetchOr_<TypeMn> (volatile <Type>* Object, <Type> Operand)

Bmc_FetchXor_<TypeMn>

<Type> Bmc_FetchXor_<TypeMn> (volatile <Type>* Object, <Type> Operand)

Bmc_FetchAnd_<TypeMn>

<Type> Bmc_FetchAnd_<TypeMn> (volatile <Type>* Object, <Type> Operand)

Bmc_ThreadFence

void Bmc_ThreadFence (void)

Bmc_GetVersionInfo

void Bmc_GetVersionInfo (Std_VersionInfoType* Versioninfo)
Note: See TracWiki for help on using the wiki.