while (start != end) {
ret = rsi_set_addr_range_state(start, end, state, flags, &top); if (ret || top < start || top > end) return -EINVAL;
start = top;
}
return 0;
}
/* * Convert the specified range to RAM. Do not use this if you rely on the * contents of a page that may already be in RAM state.
*/ staticinlineint rsi_set_memory_range_protected(phys_addr_t start,
phys_addr_t end)
{ return rsi_set_memory_range(start, end, RSI_RIPAS_RAM,
RSI_CHANGE_DESTROYED);
}
/* * Convert the specified range to RAM. Do not convert any pages that may have * been DESTROYED, without our permission.
*/ staticinlineint rsi_set_memory_range_protected_safe(phys_addr_t start,
phys_addr_t end)
{ return rsi_set_memory_range(start, end, RSI_RIPAS_RAM,
RSI_NO_CHANGE_DESTROYED);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.