Changeset 33522 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Oct 27, 2010 4:03:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VCICacheCore.cpp
r33481 r33522 157 157 158 158 /** Node type: Internal node containing links to other nodes (VciTreeNodeInternal). */ 159 #define VCI_TREE_NODE_TYPE_INTERNAL UINT8_C(0x0 0000001)159 #define VCI_TREE_NODE_TYPE_INTERNAL UINT8_C(0x01) 160 160 /** Node type: Leaf of the tree (VciCacheExtent). */ 161 #define VCI_TREE_NODE_TYPE_LEAF UINT8_C(0x0 0000002)161 #define VCI_TREE_NODE_TYPE_LEAF UINT8_C(0x02) 162 162 163 163 /** Number of cache extents described by one node. */ 164 #define VCI_TREE_EXTENTS_PER_NODE ( sizeof(VciTreeNode)-1/ sizeof(VciCacheExtent))164 #define VCI_TREE_EXTENTS_PER_NODE ((sizeof(VciTreeNode)-1) / sizeof(VciCacheExtent)) 165 165 /** Number of internal nodes managed by one tree node. */ 166 #define VCI_TREE_INTERNAL_NODES_PER_NODE ( sizeof(VciTreeNode)-1/ sizeof(VciTreeNodeInternal))166 #define VCI_TREE_INTERNAL_NODES_PER_NODE ((sizeof(VciTreeNode)-1) / sizeof(VciTreeNodeInternal)) 167 167 168 168 /**
Note:
See TracChangeset
for help on using the changeset viewer.