diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2011-11-09 18:15:33 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-11-16 10:07:41 -0600 |
commit | 6f1adaf68285ef70e1c69d57b01c5c7b6d7fb2e6 (patch) | |
tree | 9538afbe255b4f4d1e9bf9cd878ad4e89f43844c /src/usr/targeting/xmltohb/attribute_types.xml | |
parent | 4d9344f1025ee77e24e88249dd3e32f3d4c9a3ba (diff) | |
download | talos-hostboot-6f1adaf68285ef70e1c69d57b01c5c7b6d7fb2e6.tar.gz talos-hostboot-6f1adaf68285ef70e1c69d57b01c5c7b6d7fb2e6.zip |
Support host boot mutex attributes
- Prevented mutex attributes from being copied in target APIs
- Added target APIs to get/tryGet mutex attribute references
- Added testcases to verify mutex attributes
- Added mutex attribute type to XML definition
- Added test mutex attribute to system target XML definition
- Modified attribute compiler to support mutex attributes and restrictions
- Replaced 100000 cycle loop in synctest.H with nanosleep for 10 CTX switches
- Added context switch time macros to time.h
- Removed context switch time macros from taskwaittest.H
and renamed existing macro calls
- Removed context switch time macros from synctest.H
and renamed existing macro calls
Change-Id: I93fecfa75e00e509fa442e4dd5c9e3fd67866e98
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/491
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/xmltohb/attribute_types.xml')
-rw-r--r-- | src/usr/targeting/xmltohb/attribute_types.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/targeting/xmltohb/attribute_types.xml b/src/usr/targeting/xmltohb/attribute_types.xml index 8c0f7dbf8..c7f1d42c9 100644 --- a/src/usr/targeting/xmltohb/attribute_types.xml +++ b/src/usr/targeting/xmltohb/attribute_types.xml @@ -951,5 +951,18 @@ <readable/> </attribute> +<attribute> + <id>HB_MUTEX_TEST_LOCK</id> + <description>Host boot mutex for testing</description> + <simpleType> + <hbmutex> + <default>0</default> + </hbmutex> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + </attributes> |