SWILIB API (X75)    
Loading...
Searching...
No Matches
gcc_patch.h File Reference

Go to the source code of this file.

Macros

#define __swilib_begin
 
#define __swilib_end    _Pragma("GCC diagnostic pop")
 
#define __swi_begin(number)
 
#define __swi_end(number, func, call)
 
#define __swi_noreturn_begin(number)
 
#define __swi_noreturn_end(number, func, call)
 
#define __swi_returns_twice_begin(number)
 
#define __swi_returns_twice_end(number, func, call)
 
#define __swi_variadic_begin(number)
 
#define __swi_variadic_end(number, func, ...)
 
#define __swi_format(type, ...)   __attribute__((format(type, ##__VA_ARGS__)))
 

Functions

unsigned int __attribute__ ((warning("Function not found in swilib."))) ___bad_swi_addr___(unsigned int addr)
 GCC compiler support (Patches).
 

Macro Definition Documentation

◆ __swilib_begin

#define __swilib_begin
Value:
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wpedantic\"")

Definition at line 18 of file gcc_patch.h.

◆ __swilib_end

#define __swilib_end    _Pragma("GCC diagnostic pop")

Definition at line 21 of file gcc_patch.h.

◆ __swi_begin

#define __swi_begin ( number)

Definition at line 25 of file gcc_patch.h.

◆ __swi_end

#define __swi_end ( number,
func,
call )

Definition at line 26 of file gcc_patch.h.

◆ __swi_noreturn_begin

#define __swi_noreturn_begin ( number)

Definition at line 28 of file gcc_patch.h.

◆ __swi_noreturn_end

#define __swi_noreturn_end ( number,
func,
call )

Definition at line 29 of file gcc_patch.h.

◆ __swi_returns_twice_begin

#define __swi_returns_twice_begin ( number)

Definition at line 31 of file gcc_patch.h.

◆ __swi_returns_twice_end

#define __swi_returns_twice_end ( number,
func,
call )

Definition at line 32 of file gcc_patch.h.

◆ __swi_variadic_begin

#define __swi_variadic_begin ( number)

Definition at line 34 of file gcc_patch.h.

◆ __swi_variadic_end

#define __swi_variadic_end ( number,
func,
... )

Definition at line 35 of file gcc_patch.h.

◆ __swi_format

#define __swi_format ( type,
... )   __attribute__((format(type, ##__VA_ARGS__)))

Definition at line 37 of file gcc_patch.h.

Function Documentation

◆ __attribute__()

unsigned int __attribute__ ( (warning("Function not found in swilib.")) )

GCC compiler support (Patches).