Page MenuHomeFreeBSD

Fix mapping SOCDEV device memory for early printf
AbandonedPublic

Authored by bsz_semihalf.com on Nov 19 2015, 12:00 PM.
Tags
Referenced Files
Unknown Object (File)
Mar 19 2024, 2:48 AM
Unknown Object (File)
Feb 24 2024, 7:02 AM
Unknown Object (File)
Nov 29 2023, 2:45 AM
Unknown Object (File)
Nov 28 2023, 7:54 PM
Unknown Object (File)
Nov 14 2023, 7:20 AM
Unknown Object (File)
Nov 13 2023, 4:49 PM
Unknown Object (File)
Nov 13 2023, 1:37 PM
Unknown Object (File)
Nov 11 2023, 5:05 PM
Subscribers

Details

Reviewers
imp
ian
Summary

SOCDEV must be mapped as device memory. Create a separate function which
maps a device memory section in L1 pagetable.

Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Michal Stanek <mst@semihalf.com>

Test Plan

Tested on Armada 388-GP board.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bsz_semihalf.com retitled this revision from to Fix mapping SOCDEV device memory for early printf.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited the test plan for this revision. (Show Details)
bsz_semihalf.com added reviewers: ian, imp.
bsz_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
bsz_semihalf.com added a project: ARM.
bsz_semihalf.com added a subscriber: zbb.
imp edited edge metadata.
This revision is now accepted and ready to land.Nov 19 2015, 2:35 PM
sys/arm/arm/locore-v6.S
406

add a label like build_pagetables_common: before this line. make build_pagetables_dev load the right value into r4 and jump to this new label, to avoid duplicating the entire function.

434

Isn't this whole change a no-op without doing this to-do?

Abandonen, as this is not required after we removed EARLY_PRINTK and doesn't work properly with ARM_NEW_PMAP.