pub fn check_page_eq(current_task: &CurrentTask, addr: UserAddress, data: char)Expand description
Checks that the page in current_task’s address space starting at addr is readable.
Panics if the read failed, or the page was not filled with the ASCII character data.
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.