fill_page

Function fill_page 

Source
pub fn fill_page(current_task: &CurrentTask, addr: UserAddress, data: char)
Expand description

Fills one page in the current_task’s address space starting at addr with the ASCII character data. Panics if the write failed.

This method uses the #[track_caller] attribute, which will display the caller’s file and line number in the event of a panic. This makes it easier to find test regressions.