Changeset 58789 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SlabInit.c
- Timestamp:
- Nov 20, 2015 3:38:25 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SlabInit.c
r58777 r58789 29 29 30 30 31 BS3_DECL(void) Bs3SlabInit(PBS3SLABC LTpSlabCtl, size_t cbSlabCtl, uint32_t uFlatSlabPtr, uint32_t cbSlab, uint16_t cbChunk)31 BS3_DECL(void) Bs3SlabInit(PBS3SLABCTL pSlabCtl, size_t cbSlabCtl, uint32_t uFlatSlabPtr, uint32_t cbSlab, uint16_t cbChunk) 32 32 { 33 33 uint16_t cBits; … … 36 36 BS3_ASSERT(!(uFlatSlabPtr & (cbChunk - 1))); 37 37 38 BS3_XPTR_SET_FLAT(BS3SLABC LT, pSlabCtl->pNext, 0);39 BS3_XPTR_SET_FLAT(BS3SLABC LT, pSlabCtl->pHead, 0);40 BS3_XPTR_SET_FLAT(BS3SLABC LT, pSlabCtl->pbStart, uFlatSlabPtr);38 BS3_XPTR_SET_FLAT(BS3SLABCTL, pSlabCtl->pNext, 0); 39 BS3_XPTR_SET_FLAT(BS3SLABCTL, pSlabCtl->pHead, 0); 40 BS3_XPTR_SET_FLAT(BS3SLABCTL, pSlabCtl->pbStart, uFlatSlabPtr); 41 41 pSlabCtl->cbChunk = cbChunk; 42 42 pSlabCtl->cChunkShift = ASMBitFirstSetU16(cbChunk) - 1;
Note:
See TracChangeset
for help on using the changeset viewer.