diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst')
-rw-r--r-- | roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst b/roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst new file mode 100644 index 000000000..0e5181cf4 --- /dev/null +++ b/roms/skiboot/doc/opal-api/opal-nmmu-set-ptcr-127.rst @@ -0,0 +1,29 @@ +.. _OPAL_NMMU_SET_PTCR: + +OPAL_NMMU_SET_PTCR +------------------ + +.. code-block:: c + + #define OPAL_NMMU_SET_PTCR 127 + + int64 opal_nmmu_set_ptcr(uint64 chip_id, uint64_t ptcr); + + +``uint64 chip_id`` + either the chip id containing the nest mmu who's ptcr should be set + or alternatively -1ULL to indicate all nest mmu ptcr's should be set to + the same value. +``uint64 ptcr`` + ptcr value pointing to either the radix tables or hash tables. + +This OPAL call sets up the Nest MMU by pointing it at the radix page +table base or the hash page table base (HTABORG). + +Return Values +^^^^^^^^^^^^^ + +:ref:`OPAL_SUCCESS` + the PTCR was updated successful +:ref:`OPAL_PARAMETER` + a parameter was incorrect |