Re: On loading userspace data into particular section of physical memory (ARM)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joel...

On Wed, Dec 5, 2012 at 12:07 PM, Joel A Fernandes <agnel.joel@xxxxxxxxx> wrote:
> I am looking at a problem that might be too difficult to solve, or
> might not if I'm missing something so I thought I'd bounce it off this
> group,
>
> Basically I have an application in userspace who's ".data" section
> _has_ to be loaded into particular locations in physical memory. That
> is, there is a chunk of physical memory that has to contain the .data
> section and no other part of physical memory should.
>
> What is the easiest way to do this? I guess, changes might be required
> to the ELF loaders in fs/bin*.c. Any other tricks?

I somewhat agree that the solution would be changing some parts in ELF
loader. But not sure which one, loader in kernel space, user space or
both.


PS: are you considering creating special data section? perhaps by
using custom ld script?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux