Messages in this thread | | | From | "Ren, Qiaowei" <> | Subject | RE: [PATCH v2 2/3] driver: provide sysfs interfaces to access TXT config space | Date | Tue, 14 May 2013 01:46:49 +0000 |
| |
On 2013-05-14, Matthew Garrett wrote: > On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote: > > These interfaces are located > > in /sys/devices/platform/intel_txt/config, > > and including totally 37 files, providing access to Intel TXT > > configuration registers. > > Do you have any example userspace code using these features?
You mean test programs using these sysfs files? Currently I just did some simple demos like the following:
cat config/STS_private_open echo 1 > CMD_CLOSE_PRIVATE cat config/STS_private_open
cat config/STS_ locality_1_open echo 1 > CMD_CLOSE_LOCALITY1 cat config/ STS_ locality_1_open echo 1 > CMD_OPEN_LOCALITY1 cat config/ STS_ locality_1_open
Thanks, Qiaowei
| |