aboutsummaryrefslogtreecommitdiff
path: root/doc/opal-api/opal-nmmu-set-ptcr-127.txt
blob: eac13f32c09cadf872ce9ae39180c44cb60b2a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
OPAL_NMMU_SET_PTCR
-------------------

#define OPAL_NMMU_SET_PTCR			127

int64 opal_nmmu_set_ptcr(uint64 chip_id, uint64_t ptcr)

Arguments:

  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:
OPAL_SUCCESS: the power down was updated successful
OPAL_PARAMETER: a parameter was incorrect