kernel: flush now write-buffered dcache of image before execution
This commit is contained in:
@@ -23,7 +23,7 @@ pub struct DynamicSection {
|
||||
/// target memory image
|
||||
pub struct Image {
|
||||
layout: Layout,
|
||||
data: &'static mut [u8],
|
||||
pub data: &'static mut [u8],
|
||||
}
|
||||
|
||||
impl Image {
|
||||
|
||||
@@ -58,7 +58,7 @@ fn elf_hash(name: &[u8]) -> u32 {
|
||||
}
|
||||
|
||||
pub struct Library {
|
||||
image: Image,
|
||||
pub image: Image,
|
||||
dyn_section: DynamicSection,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user