Go to the source code of this file.
Defines | |
| #define | RPAGE mmg$gl_bwp_mask |
| #define | R64BT 63 |
| #define | RQUAD 7 |
| #define | ROUND(s, R) ((s + R) & ~R) |
| #define | BYTE2PAGE(s) (s >> mmg$gl_bwp_width) |
| #define | min(x, y) (x<y?x:y) |
| #define | max(x, y) (x>y?x:y) |
| #define | NQUE 32000 |
| #define | INSQTI(s, head, ent) |
| #define | REMQHI(s, head, ent) |
| #define | WQ_q(i) smnd$r_wq_cls[i].smnd$q_work_queue |
| #define | WQ_l(i) smnd$r_wq_cls[i].smnd$l_work_queue |
| #define | BASE smh->smh$pl_channel |
| #define | CHO2VA(offset) (void *) ((uint32)offset + (uint32)BASE) |
| #define | VA2CHO(va) (uint32) ((uint32)va - (uint32)BASE) |
Functions | |
| int pb | $return_to_free (SMWE *e, SMH *smh) |
| int pb | $get_from_free (SMWE **e, SMH *smh) |
| int pb | $allocate_channel_buffer (SMH *smh, void **buffer) |
| int pb | $deallocate_channel_buffer (SMH *smh, void *buffer) |
| int pb | $send_channel_buffer (SMH *smh, void *buff, int len, int prio) |
| int pb | $create_channel_block (SMH *smh, PB_UCB *ucb) |
| int pb | $start_shutdown (UCB *ucb) |
| void pb | $validate_harter_list (SMH *smh) |
| int | bug_check_pb () |
| #define BASE smh->smh$pl_channel |
Definition at line 138 of file channels.h.
| #define BYTE2PAGE | ( | s | ) | (s >> mmg$gl_bwp_width) |
Definition at line 90 of file channels.h.
| #define CHO2VA | ( | offset | ) | (void *) ((uint32)offset + (uint32)BASE) |
Definition at line 140 of file channels.h.
| #define INSQTI | ( | s, | |||
| head, | |||||
| ent | ) |
Value:
{ \
register int loop=NQUE; \
\
while (loop--) \
{ \
s = __PAL_INSQTILR((void *)head,ent); \
if (s != -1) \
break; \
} \
} \
Definition at line 103 of file channels.h.
| #define max | ( | x, | |||
| y | ) | (x>y?x:y) |
Definition at line 93 of file channels.h.
| #define min | ( | x, | |||
| y | ) | (x<y?x:y) |
Definition at line 92 of file channels.h.
| #define NQUE 32000 |
Definition at line 102 of file channels.h.
| #define R64BT 63 |
Definition at line 86 of file channels.h.
| #define REMQHI | ( | s, | |||
| head, | |||||
| ent | ) |
Value:
{ \
register int loop=NQUE; \
\
while (loop--) \
{ \
s = __PAL_REMQHIL((void *)head,(void **)ent); \
if (s != -1) \
break; \
} \
} \
Definition at line 122 of file channels.h.
| #define ROUND | ( | s, | |||
| R | ) | ((s + R) & ~R) |
Definition at line 88 of file channels.h.
| #define RPAGE mmg$gl_bwp_mask |
Definition at line 85 of file channels.h.
| #define RQUAD 7 |
Definition at line 87 of file channels.h.
| #define VA2CHO | ( | va | ) | (uint32) ((uint32)va - (uint32)BASE) |
Definition at line 143 of file channels.h.
| #define WQ_l | ( | i | ) | smnd$r_wq_cls[i].smnd$l_work_queue |
Definition at line 136 of file channels.h.
| #define WQ_q | ( | i | ) | smnd$r_wq_cls[i].smnd$q_work_queue |
Definition at line 135 of file channels.h.
| int pb $allocate_channel_buffer | ( | SMH * | smh, | |
| void ** | buffer | |||
| ) |
| int pb $create_channel_block | ( | SMH * | smh, | |
| PB_UCB * | ucb | |||
| ) |
| int pb $deallocate_channel_buffer | ( | SMH * | smh, | |
| void * | buffer | |||
| ) |
| int pb $get_from_free | ( | SMWE ** | e, | |
| SMH * | smh | |||
| ) |
| int pb $return_to_free | ( | SMWE * | e, | |
| SMH * | smh | |||
| ) |
| int pb $send_channel_buffer | ( | SMH * | smh, | |
| void * | buff, | |||
| int | len, | |||
| int | prio | |||
| ) |
| int pb $start_shutdown | ( | UCB * | ucb | ) |
| void pb $validate_harter_list | ( | SMH * | smh | ) |
| int bug_check_pb | ( | ) |