OCEOS/oceos protection
Revision as of 15:38, 28 March 2022 by Okhoruzhyy (talk | contribs) (→Memory Protection Introduction)
OCEOS Memory Protection For GR716
Memory Protection Introduction
Memory Protection provides directives to deal with the Error Detection and Correction (EDAC) features of the GR716 and directives to deal with memory write protection units.
The GR716 internal memory is protected by error detection and correction (EDAC) and associated scrubbing functionality and OCEOS provides directives to control and monitor this.
The GR716 memory controller for external memory provides EDAC capability and OCEOS has directives to control and monitor this and also the MEMSCRUB external scrubber unit.
The GR716 provides a number of memory protection units that provide some memory write protection capability. The OCEOS directives allow these registers be set to provide various levels of memory write protection.
Memory Protection Configuration
API Functions
Directive | Description | main | task | IRQ handler |
---|---|---|---|---|
oceos_system_state_get() | Get the value of the system state variable | * | * | * |
oceos_system_state_set() | Set system state variable | * | * | * |
oceos_system_watchdog_init() | Initialize the watchdog | * | * | * |
oceos_system_watchdog_enable() | Enable the watchdog | * | * | * |
oceos_system_watchdog_disable() | Disable the watchdog | * | * | * |
oceos_system_watchdog_ticks_remaining() | Get the number of ticks to watchdog timeout | * | * | * |
oceos_system_watchdog_reset() | Reset the watchdog | * | * | * |