Changeset da68871a in mainline for abi/include/ddi/irq.h
- Timestamp:
- 2012-08-08T08:46:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30c0826
- Parents:
- bc216a0 (diff), 1d01cca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/ddi/irq.h
rbc216a0 rda68871a 42 42 43 43 typedef enum { 44 /** Read 1 byte from the I/O space. */ 44 /** Read 1 byte from the I/O space. 45 * 46 * *addr(8) -> scratch[dstarg] 47 */ 45 48 CMD_PIO_READ_8 = 1, 46 /** Read 2 bytes from the I/O space. */ 49 50 /** Read 2 bytes from the I/O space. 51 * 52 * *addr(16) -> scratch[dstarg] 53 */ 47 54 CMD_PIO_READ_16, 48 /** Read 4 bytes from the I/O space. */ 55 56 /** Read 4 bytes from the I/O space. 57 * 58 * *addr(32) -> scratch[dstarg] 59 */ 49 60 CMD_PIO_READ_32, 50 61 51 /** Write 1 byte to the I/O space. */ 62 /** Write 1 byte to the I/O space. 63 * 64 * value(8) -> *addr 65 */ 52 66 CMD_PIO_WRITE_8, 53 /** Write 2 bytes to the I/O space. */ 67 68 /** Write 2 bytes to the I/O space. 69 * 70 * value(16) -> *addr 71 */ 54 72 CMD_PIO_WRITE_16, 55 /** Write 4 bytes to the I/O space. */ 73 74 /** Write 4 bytes to the I/O space. 75 * 76 * value(32) -> *addr 77 */ 56 78 CMD_PIO_WRITE_32, 57 79 58 /** 59 * Write 1 byte from the source argument60 * to the I/O space.80 /** Write 1 byte to the I/O space. 81 * 82 * scratch[srcarg](8) -> *addr 61 83 */ 62 84 CMD_PIO_WRITE_A_8, 63 /** 64 * Write 2 bytes from the source argument 65 * to the I/O space. 85 86 /** Write 2 bytes to the I/O space. 87 * 88 * scratch[srcarg](16) -> *addr 66 89 */ 67 90 CMD_PIO_WRITE_A_16, 68 /** 69 * Write 4 bytes from the source argument 70 * to the I/O space. 91 92 /** Write 4 bytes to the I/O space. 93 * 94 * scratch[srcarg](32) -> *addr 71 95 */ 72 96 CMD_PIO_WRITE_A_32, 73 97 74 /** 75 * Perform a bit masking on the source argument76 * and store the result into the destination argument.98 /** Load value. 99 * 100 * value -> scratch[dstarg] 77 101 */ 78 CMD_ BTEST,102 CMD_LOAD, 79 103 80 /** 81 * Predicate the execution of the following 82 * N commands by the boolean value of the source 83 * argument. 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) 84 114 */ 85 115 CMD_PREDICATE,
Note:
See TracChangeset
for help on using the changeset viewer.