00001 #ifndef SSB_SPEC_MEM_ENT_H 00002 #define SSB_SPEC_MEM_ENT_H 00003 00004 00005 /* speculative memory hash table size, NOTE: this must be a power-of-two */ 00006 #define STORE_HASH_SIZE 32 00007 00008 //: Speculative memory hash table 00009 // 00010 // speculative memory hash table definition, accesses go through this 00011 // hash table when accessing memory in speculative mode, the hash 00012 // table flush the table when recovering from mispredicted branches 00013 // 00014 //!SEC:ssBack 00015 struct spec_mem_ent { 00016 struct spec_mem_ent *next; /* ptr to next hash table bucket */ 00017 md_addr_t addr; /* virtual address of spec state */ 00018 unsigned int data[2]; /* spec buffer, up to 8 bytes */ 00019 }; 00020 00021 00022 #endif