Skip to contentSkip to conversation

Was there a way to bind a shared memory object onto a fixed physical memory address?

DISCUSSION kipade 3 participants 4 messages Apr 2, 2020 – Apr 20, 2020

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · kipade

As the topic, I want to specify a fixed physical memory space to a shared memory object, which can use shm_XXX api to access the memory. Of course I do not want to use mmap api to map /dev/mem device memory into user program.

Step back and tell us exactly what problem you have, that you have come up to this type of solution being necessary? What do you think you can solve by doing this?

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

author
#2 lore raw

Im sorry that my there were something wrong about my notebook for a half of month.

Here, I want to use system shared memory API to share data across processes, but I want it use a specified

range of memory knowned by a slave core such as DSP, etc. If I can do?

thanks.

Quoted 11 lines · Greg KH
Quoted 3 lines · kipade

As the topic, I want to specify a fixed physical memory space to a shared memory object, which can use shm_XXX api to access the memory. Of course I do not want to use mmap api to map /dev/mem device memory into user program.

Step back and tell us exactly what problem you have, that you have come up to this type of solution being necessary? What do you think you can solve by doing this?

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#3 lore raw
Quoted 7 lines · On Mon, Apr 20, 2020, 08:33 kipade <[email protected]> wrote:

Im sorry that my there were something wrong about my notebook for a half of month.

Here, I want to use system shared memory API to share data across processes, but I want it use a specified
It's simple. As you are mentioning the API, so study that API.

I am also trying to learn kernel development, but through reading kernel documents.
I think a kernel developer should not be fed rather he should eat. I will suggest you to just take a jump into kernel documentation directory, you will find yourself wet.

Pardon me, if I have hurt you.

Quoted 18 lines

range of memory knowned by a slave core such as DSP, etc. If I can do?

thanks.

Quoted 2 lines · Greg KH
Quoted 1 line · kipade

As the topic, I want to specify a fixed physical memory space to a

shared memory object, which can use

Quoted 1 line
Quoted 1 line

shm_XXX api to access the memory. Of course I do not want to use mmap

api to map /dev/mem device

Quoted 7 lines
Quoted 1 line

memory into user program.

Step back and tell us exactly what problem you have, that you have come up to this type of solution being necessary? What do you think you can solve by doing this?

thanks,

Quoted 8 lines
Quoted 1 line

greg k-h

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies