staticinlinebool __debug_virt_addr_valid(unsignedlong x)
{ /* * MAX_DMA_ADDRESS is a virtual address that may not correspond to an * actual physical address. Enough code relies on * virt_to_phys(MAX_DMA_ADDRESS) that we just need to work around it * and always return true.
*/ if (x == MAX_DMA_ADDRESS) returntrue;
phys_addr_t __phys_addr_symbol(unsignedlong x)
{ /* This is bounds checking against the kernel image only. * __pa_symbol should only be used on kernel symbol addresses.
*/
VIRTUAL_BUG_ON(x < (unsignedlong)_text ||
x > (unsignedlong)_end);
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.