[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]
Name: |
devlst |
Comment: |
The Knl class - a message switcher - holds a linked list of receive ports for the messages its FIFO queue. Each element of the list contains the port ID, its status and a pointer to the actual port instance. This allows the switcher to match message destination with port ID and call the port's receiver member with the message - thus effecting the pass. |
Collaborators: |
typedef struct devlst { port *pP; // pointer to a "port" class instance UINT16 uID; // unique ID of Device owing port UINT16 uClass; // Device driver class UINT16 uAssign; // "Owner" PID, if assignable UINT16 uStatus; // current status of device } DEVLST, *PDEVLST;