Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion hw/isa/lpc_ich9.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ static void ich9_lpc_rcba_update(ICH9LPCState *lpc, uint32_t rcba_old)
if (rcba_old & ICH9_LPC_RCBA_EN) {
memory_region_del_subregion(get_system_memory(), &lpc->rcrb_mem);
}
if (rcba & ICH9_LPC_RCBA_EN) {
if (rcba & ICH9_LPC_RCBA_EN
//// --- Begin LibAFL code ---
&& !lpc->rcrb_mem.container) {
//// --- End LibAFL code ---
memory_region_add_subregion_overlap(get_system_memory(),
rcba & ICH9_LPC_RCBA_BA_MASK,
&lpc->rcrb_mem, 1);
Expand Down
Loading