| commit | f32ea4433c5385956c07f361d89f2fd225acc370 | [log] [tgz] |
|---|---|---|
| author | Daniel Leung <daniel.leung@intel.com> | Mon Jul 12 11:17:56 2021 -0700 |
| committer | Christopher Friedt <chrisfriedt@gmail.com> | Thu Aug 26 21:16:22 2021 -0400 |
| tree | 4910c8009eff7f73568406796d47200a6775d3d0 | |
| parent | 6a006d71b7c18426f65e284362d6b01b60045cb3 [diff] |
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: Daniel Leung <daniel.leung@intel.com>