主权项 |
1. A method for creating a computer program product for executing a perform frame management function (PFMF) machine instruction in a processor having a native instruction set architecture (ISA), the processor configured to translate a virtual address into a translated address of a block of main storage in a computer system of a machine architecture having a hierarchy of translation tables used for translation of said virtual address, said block of main storage having an associated storage key separate and distinct from any of said translation tables, said PFMF machine instruction defined for said machine architecture other than the native ISA, the method comprising:
obtaining instructions for executing the PFMF machine instruction; and storing the obtained instructions on a storage medium of a computer program product, said storage medium readable by a computer system for causing the computer system to perform a method comprising: obtaining, by the processor, a frame size code and frame management information (FMI) from a first general register specified by said PFMF machine instruction, wherein said frame management information comprises an FMI key field; and based on said frame size code designating a large block of main storage, wherein said large block of main storage consists of an absolute addressed contiguous first plurality of sub-blocks of main storage, setting, by a processor, one or more bits of each corresponding storage key of each of a second plurality of said contiguous first plurality of sub-blocks of main storage with values of corresponding bits of said FMI key field, said second plurality determined by an operand absolute address of an initial sub-block of main storage. |