sh: Preparation for uncached jumps through PMB.
Presently most of the 29-bit physical parts do P1/P2 segmentation with a 1:1 cached/uncached mapping, jumping between the two to control the caching behaviour. This provides the basic infrastructure to maintain this behaviour on 32-bit physical parts that don't map P1/P2 at all, using a shiny new linker section and corresponding fixmap entry. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:

committed by
Paul Mundt

parent
325df7f204
commit
cbaa118ecf
@@ -43,6 +43,15 @@ SECTIONS
|
||||
NOTES
|
||||
RO_DATA(PAGE_SIZE)
|
||||
|
||||
/*
|
||||
* Code which must be executed uncached and the associated data
|
||||
*/
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
__uncached_start = .;
|
||||
.uncached.text : { *(.uncached.text) }
|
||||
.uncached.data : { *(.uncached.data) }
|
||||
__uncached_end = .;
|
||||
|
||||
. = ALIGN(THREAD_SIZE);
|
||||
.data : { /* Data */
|
||||
*(.data.init_task)
|
||||
|
Reference in New Issue
Block a user