SCP: Add DEV_CARD device type for devices that use sim_card
This commit is contained in:
parent
8b1a2ba759
commit
48033d86c9
1 changed files with 3 additions and 2 deletions
|
@ -541,8 +541,9 @@ struct DEVICE {
|
||||||
#define DEV_DISK (1 << DEV_V_TYPE) /* sim_disk Attach */
|
#define DEV_DISK (1 << DEV_V_TYPE) /* sim_disk Attach */
|
||||||
#define DEV_TAPE (2 << DEV_V_TYPE) /* sim_tape Attach */
|
#define DEV_TAPE (2 << DEV_V_TYPE) /* sim_tape Attach */
|
||||||
#define DEV_MUX (3 << DEV_V_TYPE) /* sim_tmxr Attach */
|
#define DEV_MUX (3 << DEV_V_TYPE) /* sim_tmxr Attach */
|
||||||
#define DEV_ETHER (4 << DEV_V_TYPE) /* Ethernet Device */
|
#define DEV_CARD (4 << DEV_V_TYPE) /* sim_card Attach */
|
||||||
#define DEV_DISPLAY (5 << DEV_V_TYPE) /* Display Device */
|
#define DEV_ETHER (5 << DEV_V_TYPE) /* Ethernet Device */
|
||||||
|
#define DEV_DISPLAY (6 << DEV_V_TYPE) /* Display Device */
|
||||||
#define DEV_TYPE(dptr) ((dptr)->flags & DEV_TYPEMASK)
|
#define DEV_TYPE(dptr) ((dptr)->flags & DEV_TYPEMASK)
|
||||||
|
|
||||||
#define DEV_UFMASK_31 (((1u << DEV_V_RSV) - 1) & ~((1u << DEV_V_UF_31) - 1))
|
#define DEV_UFMASK_31 (((1u << DEV_V_RSV) - 1) & ~((1u << DEV_V_UF_31) - 1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue