blob: a4ce7888ade30ea59d107834dee54970f8faa62d [file] [log] [blame]
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.chromium.tpmd.nvram">
<method name="Free">
<tp:docstring>
Frees this nvram region, destroying all data inside it.
</tp:docstring>
</method>
<method name="Write">
<tp:docstring>
Writes the supplied bytes to this nvram region. Fails if the region is
not writeable or too few or too many bytes are supplied.
</tp:docstring>
<arg name="bytes" type="ay" direction="in">
<tp:docstring>
Bytes to write.
</tp:docstring>
</arg>
<arg name="result" type="b" direction="out">
</arg>
</method>
<method name="Read">
<tp:docstring>
Reads bytes from this nvram region. Fails if the region is not allocated
or written.
</tp:docstring>
<arg name="bytes" type="ay" direction="out">
<tp:docstring>
The bytes read from this nvram region.
</tp:docstring>
</arg>
<arg name="result" type="b" direction="out">
</arg>
</method>
<property name="IsDefined" type="b">
<tp:docstring>
Has this nvram region been written?
</tp:docstring>
</property>
<property name="IsLocked" type="b">
<tp:docstring>
Has this nvram region been locked? (i.e., can it no longer be written?)
</tp:docstring>
</property>
<property name="Size" type="u">
<tp:docstring>
The size of this nvram region, in bytes.
</tp:docstring>
</property>
</interface>
</node>