- #include "portab.h"
- void clearblock (short *psBlock)
- {
- uint32_t* pu32_b;
- int i;
- pu32_b = (uint32_t *) psBlock;
- for (i = 0; i < 4; i++)
- {
- pu32_b[0] = pu32_b[1] = pu32_b[2] = pu32_b[3] =
- pu32_b[4] = pu32_b[5] = pu32_b[6] = pu32_b[7] = 0;
- pu32_b += 8;
- }
- }