Limiting program RAM addresses
Mohammed Khoory
mkhoory at eiast.ae
Mon Dec 2 01:29:56 UTC 2013
I see, thanks. This makes sense.
I assume in order to make sure that ramdisk_buffer is located in the memory
region that I need, I would have to modify the linker script. Time to
research that I suppose.
>-----Original Message-----
>From: Sebastian Huber [mailto:sebastian.huber at embedded-brains.de]
>Sent: Friday, November 29, 2013 6:17 PM
>To: Mohammed Khoory
>Cc: rtems-users at rtems.org
>Subject: Re: Limiting program RAM addresses
>
>This doesn't work, but you can use this:
>
>static char ramdisk_buffer[12288][512];
>
>rtems_ramdisk_config rtems_ramdisk_configuration[] = {
> {
> sizeof(ramdisk_buffer[0]),
> sizeof(ramdisk_buffer) / sizeof(ramdisk_buffer[0]),
> &ramdisk_buffer[0][0]
> }
>};
>
More information about the users
mailing list