Every bit of the channel flag word, and the assertions that keep the map from drifting. More...
#include "mmgr.h"Go to the source code of this file.
Macros | |
| #define | PRAET_SEPARATUS |
| Detached: the channel holds no engine and no vector. | |
| #define | PRAET_ADNEXUS |
| Attached: the channel holds the engine and will take a transfer. | |
| #define | PRAET_BUSY |
| Busy: the engine is moving bytes on this channel. | |
| #define | PRAET_OK |
| Ok: the last transfer finished and the channel is still attached. | |
| #define | PRAET_CORE_BITS |
| Bits the quaternary core occupies, at the bottom of the word. | |
| #define | PRAET_CORE_MASK |
| The two bits the quaternary core occupies. | |
| #define | PRAET_ID_CLAIMED |
| Token id of the status set while the channel holds an interrupt vector. | |
| #define | PRAET_ID_SETTLING |
| Token id of the status set while the engine is settling. | |
| #define | PRAET_ID_SEPARANS |
| Token id of the status set while a detach is asked for and not finished. | |
| #define | PRAET_ID_ERROR |
| Token id of the status set where the last transfer ended in an error. | |
| #define | PRAET_ID_STALLED |
| Token id of the status set where a running channel went unkicked for a whole window. | |
| #define | PRAET_ID_ABANDONED |
| Token id of the status set where a stalled transfer was backed out. | |
| #define | PRAET_ID_SCRUBBED |
| Token id of the status set where a stalled transfer's bytes were treated as unsafe. | |
| #define | PRAET_ID_MEASURED |
| Token id of the status set where the boundary word was measured during a recovery. | |
| #define | PRAET_STATUS_COUNT |
| How many status token ids there are. | |
| #define | PRAET_STATUS_SHIFT |
| First bit the statuses occupy, the bit above the core. | |
| #define | PRAET_STATUS_BIT(id_) |
| The bit a status token id owns. | |
| #define | PRAET_STATUS_MASK |
| Every bit the statuses occupy, derived from how many there are. | |
| #define | PRAET_CLAIMED |
| Set while the channel holds an interrupt vector. | |
| #define | PRAET_SETTLING |
| Set while the engine is settling and will take no transfer. | |
| #define | PRAET_SEPARANS |
| Set where a detach has been asked for and the channel has not finished tearing down. | |
| #define | PRAET_ERROR |
| Set where the last transfer ended in an error, clear where it completed. | |
| #define | PRAET_STALLED |
| Set where a running channel went a whole keepalive window without being kicked. | |
| #define | PRAET_ABANDONED |
| Set where a stalled transfer was backed out and its bytes left as they were. | |
| #define | PRAET_SCRUBBED |
| Set where a stalled transfer was resolved by treating its bytes as unsafe. | |
| #define | PRAET_MEASURED |
| Set where a recovery measured the word the engine was in the middle of. | |
| #define | PRAET_EVERY_STATUS |
| Every status, listed by name. | |
| #define | PRAET_REGION_SHIFT |
| First bit of the region descriptor. | |
| #define | PRAET_REGION_BITS |
| How wide the region descriptor is. | |
| #define | PRAET_REGION_MAX |
| The largest descriptor the region field holds. | |
| #define | PRAET_REGION_MASK |
| The bits the region descriptor occupies once shifted into place. | |
| #define | PRAET_REGION_FIELD(region_) |
| A region descriptor placed in the field the map gives it. | |
| #define | PRAET_REGION_ID_HIGHEST |
| The largest region token id there is. | |
| #define | PRAET_MAP_MASK |
| Every bit the map accounts for. | |
Enumerations | |
| enum | PraetRegion { PRAET_REGION_INTERNAL , PRAET_REGION_EXTERNAL } |
| The regions a channel can be attached over. More... | |
Every bit of the channel flag word, and the assertions that keep the map from drifting.
Definition in file praet_tabula_vexillorum.h.
| #define PRAET_SEPARATUS |
Detached: the channel holds no engine and no vector.
Definition at line 33 of file praet_tabula_vexillorum.h.
| #define PRAET_ADNEXUS |
Attached: the channel holds the engine and will take a transfer.
Definition at line 38 of file praet_tabula_vexillorum.h.
| #define PRAET_BUSY |
Busy: the engine is moving bytes on this channel.
Definition at line 46 of file praet_tabula_vexillorum.h.
| #define PRAET_OK |
Ok: the last transfer finished and the channel is still attached.
Definition at line 54 of file praet_tabula_vexillorum.h.
| #define PRAET_CORE_BITS |
Bits the quaternary core occupies, at the bottom of the word.
Definition at line 59 of file praet_tabula_vexillorum.h.
| #define PRAET_CORE_MASK |
The two bits the quaternary core occupies.
Definition at line 67 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_CLAIMED |
Token id of the status set while the channel holds an interrupt vector.
Definition at line 72 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_SETTLING |
Token id of the status set while the engine is settling.
Definition at line 77 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_SEPARANS |
Token id of the status set while a detach is asked for and not finished.
Definition at line 82 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_ERROR |
Token id of the status set where the last transfer ended in an error.
Definition at line 87 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_STALLED |
Token id of the status set where a running channel went unkicked for a whole window.
Definition at line 92 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_ABANDONED |
Token id of the status set where a stalled transfer was backed out.
Definition at line 97 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_SCRUBBED |
Token id of the status set where a stalled transfer's bytes were treated as unsafe.
Definition at line 102 of file praet_tabula_vexillorum.h.
| #define PRAET_ID_MEASURED |
Token id of the status set where the boundary word was measured during a recovery.
Definition at line 107 of file praet_tabula_vexillorum.h.
| #define PRAET_STATUS_COUNT |
How many status token ids there are.
Definition at line 115 of file praet_tabula_vexillorum.h.
| #define PRAET_STATUS_SHIFT |
First bit the statuses occupy, the bit above the core.
Definition at line 120 of file praet_tabula_vexillorum.h.
| #define PRAET_STATUS_BIT | ( | id_ | ) |
The bit a status token id owns.
| [in] | id_ | Status token id, below PRAET_STATUS_COUNT. |
Definition at line 130 of file praet_tabula_vexillorum.h.
| #define PRAET_STATUS_MASK |
Every bit the statuses occupy, derived from how many there are.
Definition at line 135 of file praet_tabula_vexillorum.h.
| #define PRAET_CLAIMED |
Set while the channel holds an interrupt vector.
Definition at line 143 of file praet_tabula_vexillorum.h.
| #define PRAET_SETTLING |
Set while the engine is settling and will take no transfer.
Definition at line 148 of file praet_tabula_vexillorum.h.
| #define PRAET_SEPARANS |
Set where a detach has been asked for and the channel has not finished tearing down.
Definition at line 153 of file praet_tabula_vexillorum.h.
| #define PRAET_ERROR |
Set where the last transfer ended in an error, clear where it completed.
Definition at line 158 of file praet_tabula_vexillorum.h.
| #define PRAET_STALLED |
Set where a running channel went a whole keepalive window without being kicked.
Definition at line 166 of file praet_tabula_vexillorum.h.
| #define PRAET_ABANDONED |
Set where a stalled transfer was backed out and its bytes left as they were.
Definition at line 174 of file praet_tabula_vexillorum.h.
| #define PRAET_SCRUBBED |
Set where a stalled transfer was resolved by treating its bytes as unsafe.
Definition at line 182 of file praet_tabula_vexillorum.h.
| #define PRAET_MEASURED |
Set where a recovery measured the word the engine was in the middle of.
Definition at line 194 of file praet_tabula_vexillorum.h.
| #define PRAET_EVERY_STATUS |
Every status, listed by name.
Definition at line 203 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_SHIFT |
First bit of the region descriptor.
Definition at line 217 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_BITS |
How wide the region descriptor is.
Definition at line 222 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_MAX |
The largest descriptor the region field holds.
Definition at line 227 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_MASK |
The bits the region descriptor occupies once shifted into place.
Definition at line 232 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_FIELD | ( | region_ | ) |
A region descriptor placed in the field the map gives it.
| [in] | region_ | Region descriptor, narrowed to what the field holds. |
Definition at line 242 of file praet_tabula_vexillorum.h.
| #define PRAET_REGION_ID_HIGHEST |
The largest region token id there is.
Definition at line 269 of file praet_tabula_vexillorum.h.
| #define PRAET_MAP_MASK |
Every bit the map accounts for.
Definition at line 278 of file praet_tabula_vexillorum.h.
| enum PraetRegion |
The regions a channel can be attached over.
Definition at line 257 of file praet_tabula_vexillorum.h.