Changes in abi/include/ddi/irq.h [8486c07:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/ddi/irq.h
r8486c07 r9d58539 42 42 43 43 typedef enum { 44 /** Read 1 byte from the I/O space. 45 * 46 * *addr(8) -> scratch[dstarg] 47 */ 44 /** Read 1 byte from the I/O space. */ 48 45 CMD_PIO_READ_8 = 1, 49 50 /** Read 2 bytes from the I/O space. 51 * 52 * *addr(16) -> scratch[dstarg] 53 */ 46 /** Read 2 bytes from the I/O space. */ 54 47 CMD_PIO_READ_16, 55 56 /** Read 4 bytes from the I/O space. 57 * 58 * *addr(32) -> scratch[dstarg] 59 */ 48 /** Read 4 bytes from the I/O space. */ 60 49 CMD_PIO_READ_32, 61 50 62 /** Write 1 byte to the I/O space. 63 * 64 * value(8) -> *addr 65 */ 51 /** Write 1 byte to the I/O space. */ 66 52 CMD_PIO_WRITE_8, 67 68 /** Write 2 bytes to the I/O space. 69 * 70 * value(16) -> *addr 71 */ 53 /** Write 2 bytes to the I/O space. */ 72 54 CMD_PIO_WRITE_16, 73 74 /** Write 4 bytes to the I/O space. 75 * 76 * value(32) -> *addr 77 */ 55 /** Write 4 bytes to the I/O space. */ 78 56 CMD_PIO_WRITE_32, 79 57 80 /** Write 1 byte to the I/O space.81 * 82 * scratch[srcarg](8) -> *addr58 /** 59 * Write 1 byte from the source argument 60 * to the I/O space. 83 61 */ 84 62 CMD_PIO_WRITE_A_8, 85 86 /** Write 2 bytes to the I/O space. 87 * 88 * scratch[srcarg](16) -> *addr 63 /** 64 * Write 2 bytes from the source argument 65 * to the I/O space. 89 66 */ 90 67 CMD_PIO_WRITE_A_16, 91 92 /** Write 4 bytes to the I/O space. 93 * 94 * scratch[srcarg](32) -> *addr 68 /** 69 * Write 4 bytes from the source argument 70 * to the I/O space. 95 71 */ 96 72 CMD_PIO_WRITE_A_32, 97 73 98 /** Load value.99 * 100 * value -> scratch[dstarg]74 /** 75 * Perform a bit masking on the source argument 76 * and store the result into the destination argument. 101 77 */ 102 CMD_ LOAD,78 CMD_BTEST, 103 79 104 /** Perform bitwise conjunction. 105 * 106 * scratch[srcarg] & value -> scratch[dstarg] 107 */ 108 CMD_AND, 109 110 /** Predicate the execution of the following commands. 111 * 112 * if (scratch[srcarg] == 0) 113 * (skip the following 'value' commands) 80 /** 81 * Predicate the execution of the following 82 * N commands by the boolean value of the source 83 * argument. 114 84 */ 115 85 CMD_PREDICATE,
Note:
See TracChangeset
for help on using the changeset viewer.