Store peripheral component interconnect (PCI) function controls instruction
First Claim
1. A computer program product for executing a machine instruction in a central processing unit, the computer program product comprising:
- a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising;
an opcode field to identify a store instruction to store in a designated location current values of operational parameters of an adapter function of an adapter;
a first field to identify a location, the contents of which include a function handle identifying a handle of the adapter function for which the store instruction is being performed, and an indication of an address space associated with the adapter function identified by the function handle to which the store instruction applies; and
a second field to identify the designated location of where a result of the store instruction is to be stored; and
executing the machine instruction, the executing comprising;
obtaining information from a function information block associated with the adapter function, the function information block including information regarding the adapter function, the information comprising control information to be used to control access by the adapter function; and
copying the information from the function information block into the designated location, based on completion of one or more validity checks with one or more predefined results.
1 Assignment
0 Petitions
Accused Products
Abstract
An instruction is provided that includes an opcode field to identify a store instruction to store in a designated location current values of operational parameters of an adapter function of an adapter; a first field to identify a location, the contents of which include a function handle identifying a handle of the adapter function for which the store instruction is being performed, and an indication of an address space associated with the adapter function identified by the function handle to which the store instruction applies; and a second field to identify the designated location of where a result of the store instruction is to be stored. Execution of the instruction includes obtaining information from a function information block associated with the adapter function; and copying the information from the function information block into the designated location, based on completion of one or more validity checks with one or more predefined results.
259 Citations
20 Claims
-
1. A computer program product for executing a machine instruction in a central processing unit, the computer program product comprising:
a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field to identify a store instruction to store in a designated location current values of operational parameters of an adapter function of an adapter; a first field to identify a location, the contents of which include a function handle identifying a handle of the adapter function for which the store instruction is being performed, and an indication of an address space associated with the adapter function identified by the function handle to which the store instruction applies; and a second field to identify the designated location of where a result of the store instruction is to be stored; and executing the machine instruction, the executing comprising; obtaining information from a function information block associated with the adapter function, the function information block including information regarding the adapter function, the information comprising control information to be used to control access by the adapter function; and copying the information from the function information block into the designated location, based on completion of one or more validity checks with one or more predefined results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer system for executing a machine instruction in a central processing unit, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field to identify a store instruction to store in a designated location current values of operational parameters of an adapter function of an adapter; a first field to identify a location, the contents of which include a function handle identifying a handle of the adapter function for which the store instruction is being performed, and an indication of an address space associated with the adapter function identified by the function handle to which the store instruction applies; and a second field to identify the designated location of where a result of the store instruction is to be stored; and executing the machine instruction, the executing comprising; obtaining information from a function information block associated with the adapter function, the function information block including information regarding the adapter function, the information comprising control information to be used to control access by the adapter function; and copying the information from the function information block into the designated location, based on completion of one or more validity checks with one or more predefined results. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A method of executing a machine instruction in a central processing unit, the method comprising:
-
obtaining, by a processor, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising; an opcode field to identify a store instruction to store in a designated location current values of operational parameters of an adapter function of an adapter; a first field to identify a location, the contents of which include a function handle identifying a handle of the adapter function for which the store instruction is being performed, and an indication of an address space associated with the adapter function identified by the function handle to which the store instruction applies; and a second field to identify the designated location of where a result of the store instruction is to be stored; and executing the machine instruction, the executing comprising; obtaining information from a function information block associated with the adapter function, the function information block including information regarding the adapter function, the information comprising control information to be used to control access by the adapter function; and copying the information from the function information block into the designated location, based on completion of one or more validity checks with one or more predefined results. - View Dependent Claims (19, 20)
-
Specification