46 unsigned long data ) {
47 basher->
op->
write ( basher, bit_id, (
data ? -1UL : 0 ) );
62 return ( basher->
op->
read ( basher, bit_id ) ? -1UL : 0 );
int read_bit(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
void write_bit(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.
uint8_t data[48]
Additional event data.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void(* write)(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.
int(* read)(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
struct bit_basher_operations * op
Bit-bashing operations.