First time BSS is cleared in booke_init(), Second time it cleared in powerpc_init().
Any variable initialized between two those guys gets wiped out what is wrong. In particular
it wipes tlb1_entries initialized by tlb1_init()
Details
Details
- Reviewers
jhibbits - Commits
- rS304829: Prevent BSS from being cleared twice on BookE
Build and boot the kernel
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Great! This was another leftover from the statically cached tlb1, where we would re initialize then reset the tlb. Since we no longer reset the tlb this zeroing is no longer needed, and is instead potentially harmful.