ata_mem
ER ata_mem ( T_AMEM *pk_amem, ACVCT *p_acvct );
typedef struct t_amem { ATR mematr; /*Memory object attribute*/ VP base; /*Memory object start address*/ SIZE size; /Size of memory object (in bytes)*/ } T_AMEM; |
This service call registers the area started from the address specified by base with the size [bytes] as the memory object with the access permission vector specified by p_acvct.
The bit N-1 in the access permission pattern shows whether tasks belonging to the domain ID #N can access the memory object. The bit value 1 means "permitted" and 0 means "not permitted".
A ) The start address (base) must be 16-bytes boundary. If not, this service call returns E_PAR error.
C ) The memory object area must not either with all user stacks and all other memory objects. If not, this service call does not detect an error, and correct system operation cannot be guaranteed.
- TACT_SRW
Returns access permission vector that represents "all types of access (operand-read, operand-write, execution) are permitted for all domains". This macro can be describe only at the right of an initial assignment statement.
Returns access permission vector that represents "all types of access (operand-read, operand-write, execution) are permitted for all domains". This macro can be describe only at the right of an initial assignment statement.
- TACT_SRO
Returns access permission vector that represents "operand-read access is permitted for all domains, and operand-write access and execution access are not permitted for all domains". This macro can be describe only at the right of an initial assignment statement.
Returns access permission vector that represents "operand-read access is permitted for all domains, and operand-write access and execution access are not permitted for all domains". This macro can be describe only at the right of an initial assignment statement.
- ACVCT TACT_PRW ( ID domid )
Returns access permission vector that represents "all types of access (operand-read, operand-write, execution) are permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
Returns access permission vector that represents "all types of access (operand-read, operand-write, execution) are permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
- ACVCT TACT_PRO ( ID domid )
Returns access permission vector that represents "operand-write access is not permitted for all domain, operand-read and execution access are permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
Returns access permission vector that represents "operand-write access is not permitted for all domain, operand-read and execution access are permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
- ACVCT TACT_SRPW ( ID domid )
Returns access permission vector that represents "operand-read and execution access are permitted for all domain, operand-write access is permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
Returns access permission vector that represents "operand-read and execution access are permitted for all domain, operand-write access is permitted only for the domain indicated by domid". This macro can be describe only at the right of an initial assignment statement.
- ACPTN TACP ( ID domid )
Returns access permission pattern that represents "only the domain indicated by domid can access".
Returns access permission pattern that represents "only the domain indicated by domid can access".
- Either of bits corresponding to the domain ID that is larger than the maximum domain ID (VTMAX_DOMAIN) of either acptn1, acptn2 or acptn3 is 1.
|
||