fix the initial value of SMPT full/empty bitmap used by aal_mc_map_micpa

This commit is contained in:
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-04 18:41:08 +09:00
parent 11599d4ce4
commit ad03d2dccd

View File

@ -222,7 +222,7 @@ unsigned int sbox_read(int offset)
/* insert entry into map which maps mic physical address to host physical address */
unsigned int free_bitmap_micpa = ((~(1ULL<<(NUM_SMPT_ENTRIES_IN_USE - NUM_SMPT_ENTRIES_MICPA)) - 1)&((1ULL << NUM_SMPT_ENTRIES_IN_USE) - 1));
unsigned int free_bitmap_micpa = ((~((1ULL<<(NUM_SMPT_ENTRIES_IN_USE - NUM_SMPT_ENTRIES_MICPA))-1))&((1ULL << NUM_SMPT_ENTRIES_IN_USE) - 1));
void aal_mc_map_micpa(unsigned long host_pa, unsigned long* mic_pa) {
int i;