mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Christian Helmuth
parent
7f170e492e
commit
da6b384e3a
@@ -134,15 +134,12 @@ struct Genode::Register
|
||||
template <unsigned long _SHIFT, unsigned long _WIDTH>
|
||||
struct Bitfield
|
||||
{
|
||||
enum {
|
||||
|
||||
/**
|
||||
* Fetch template parameters
|
||||
*/
|
||||
SHIFT = _SHIFT,
|
||||
WIDTH = _WIDTH,
|
||||
BITFIELD_WIDTH = WIDTH,
|
||||
};
|
||||
/**
|
||||
* Fetch template parameters
|
||||
*/
|
||||
static constexpr size_t SHIFT = _SHIFT;
|
||||
static constexpr size_t WIDTH = _WIDTH;
|
||||
static constexpr size_t BITFIELD_WIDTH = WIDTH;
|
||||
|
||||
/**
|
||||
* Get an unshifted mask of this field
|
||||
|
||||
Reference in New Issue
Block a user