Skip to content
Commit f32ea443 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

kernel: demand_paging: clear BSS after paging is initialized



If BSS section is not present in memory at boot, it would not
have been cleared as the data pages are not in physical memory.
Manipulating those pages would result in page faults.
In this scenario, zeroing BSS can only be done once the paging
mechanism has been initialized. So do it there.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 6a006d71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment