diff options
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/process.cc | 2 | ||||
-rw-r--r-- | src/arch/sparc/system.cc | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc index d89c606a3..cca61c1be 100644 --- a/src/arch/sparc/process.cc +++ b/src/arch/sparc/process.cc @@ -208,7 +208,7 @@ SparcProcess::argsInit(int pageSize) updateBias(); // load object file into target memory - objFile->loadSections(initVirtMem); + objFile->loadSegments(initVirtMem); enum hardwareCaps { diff --git a/src/arch/sparc/system.cc b/src/arch/sparc/system.cc index a68b11cad..5896061a6 100644 --- a/src/arch/sparc/system.cc +++ b/src/arch/sparc/system.cc @@ -138,22 +138,22 @@ SparcSystem::initState() // Load reset binary into memory reset->setTextBase(params()->reset_addr); - reset->loadSections(physProxy); + reset->loadSegments(physProxy); // Load the openboot binary openboot->setTextBase(params()->openboot_addr); - openboot->loadSections(physProxy); + openboot->loadSegments(physProxy); // Load the hypervisor binary hypervisor->setTextBase(params()->hypervisor_addr); - hypervisor->loadSections(physProxy); + hypervisor->loadSegments(physProxy); // Load the nvram image nvram->setTextBase(params()->nvram_addr); - nvram->loadSections(physProxy); + nvram->loadSegments(physProxy); // Load the hypervisor description image hypervisor_desc->setTextBase(params()->hypervisor_desc_addr); - hypervisor_desc->loadSections(physProxy); + hypervisor_desc->loadSegments(physProxy); // Load the partition description image partition_desc->setTextBase(params()->partition_desc_addr); - partition_desc->loadSections(physProxy); + partition_desc->loadSegments(physProxy); // @todo any fixup code over writing data in binaries on setting break |