iPXE
Macros | Functions | Variables
rotate.h File Reference

Bit operations. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define ROLx(data, rotation)
 
#define RORx(data, rotation)
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static __attribute__ ((always_inline)) uint8_t rol8(uint8_t data
 

Variables

static unsigned int rotation
 

Detailed Description

Bit operations.

Definition in file rotate.h.

Macro Definition Documentation

◆ ROLx

#define ROLx (   data,
  rotation 
)
Value:
( ( (data) << (rotation) ) | \
( (data) >> ( ( 8 * sizeof (data) ) - (rotation) ) ) );
static unsigned int rotation
Definition: rotate.h:22
uint8_t data[48]
Additional event data.
Definition: ena.h:22

Definition at line 13 of file rotate.h.

◆ RORx

#define RORx (   data,
  rotation 
)
Value:
( ( (data) >> (rotation) ) | \
( (data) << ( ( 8 * sizeof (data) ) - (rotation) ) ) );
static unsigned int rotation
Definition: rotate.h:22
uint8_t data[48]
Additional event data.
Definition: ena.h:22

Definition at line 17 of file rotate.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

Variable Documentation

◆ rotation

static unsigned int rotation
Initial value:
{
return ROLx ( data, rotation )
#define ROLx(data, rotation)
Definition: rotate.h:13
static unsigned int rotation
Definition: rotate.h:22
uint8_t data[48]
Additional event data.
Definition: ena.h:22

Definition at line 22 of file rotate.h.

Referenced by bigint_mod_multiply_raw(), and efi_stack_cookie().