PaRemapped
Description
Determines whether the memory can be quickly recovered when an uncorrectable error (UCE) occurs in the memory.
Prototype
Status PaRemapped(const uint64_t va, const uint64_t new_pa, const uint64_t len);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
va |
Input |
Virtual address where the UCE occurs. |
new_pa |
Input |
Physical address of the newly allocated memory. This is a reserved parameter. |
len |
Input |
Size of the memory where the UCE occurs. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: Memory segment corresponding to the virtual address can be quickly restored. FAILED: Memory segment corresponding to the virtual address contains unrecoverable addresses. PARAM_INVALID: An unidentified virtual address segment exists. |
Restrictions
- Before calling this API, you must call CompileGraph to compile the graph.
- Host scheduling is not supported in a session. If a host scheduling graph exists in a session, a failure message is returned.
- Absolute address segments are not supported in the allocation table of the static shape graph.
- This API applies only to static graphs. You can call the IsStatic API in GetCompiledGraphSummary to check whether a graph is statically compiled.
Parent topic: Graph Running APIs