Global General Storage Registers - 2020.2 English

Versal ACAP System Software Developers Guide (UG1304)

Document ID
UG1304
Release Date
2020-11-24
Version
2020.2 English

Four 32-bit storage registers are available for general use. Their values are not preserved after software reboots. The following table lists the global general storage registers.

Table 1. Global General Storage Registers
Device Node Valid Value Range
/sys/firmware/zynqmp/ggs0 0x00000000 - 0xFFFFFFFF
/sys/firmware/zynqmp/ggs1 0x00000000 - 0xFFFFFFFF
/sys/firmware/zynqmp/ggs2 0x00000000 - 0xFFFFFFFF
/sys/firmware/zynqmp/ggs3 0x00000000 - 0xFFFFFFFF

To read the value of a global storage register:

cat /sys/firmware/zynqmp/ggs0

To write the mask and value of a global storage register:

echo 0xFFFFFFFF 0x1234ABCD > /sys/firmware/zynqmp/ggs0