Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 458189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:38:47+00:00 2026-05-12T22:38:47+00:00

Due to some requirements on speed, we need to some computation in-place on internal

  • 0

Due to some requirements on speed, we need to some computation in-place on internal memory and then DMA the results of the computation to a external memory. The application runs on a TI DM355 processor which is based on ARM926EJ-S core and a set of TI periferals (EDMA, video accelerators etc).

How cleanly can this be done from the application? Is it as simple as mmap’ing the afore said internal memory address into a virtual space and doing the calculation?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:38:47+00:00Added an answer on May 12, 2026 at 10:38 pm

    You can mmap the /dev/mem device:

    int mem_fd = open("/dev/mem", O_RDWR);
    void *buffer = mmap(NULL, mem_segment_length, PROT_READ | PROT_WRITE, MAP_SHARED,
                        mem_fd, mem_segment_addr);
    close(mem_fd);
    /* buffer now points to your device's memory */
    /* remember to call msync after writing to this to force changes to write back to
     * /dev/mem */
    

    However, depending on your needs, this may not be sufficient. Another question on here has answers that go more in-depth, but you’re probably better off doing this in a kernel module.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Due to some limitations on the place files are being placed, I would like
due to some unavoidable reasons I need to disable Google Chrome's Chrome PDF Viewer
I have a .net application where I need to elevate with admin rights due
Due project requirements, I need to create a webapp that, when executing, will allow
I'm developing a plugin like application for a web site. Due to requirements it
I'm using SortedDictionaries to simulate a Queue (due to some requirements that I have),
my program is in package pl.edu.uj.tcs.crazySocket; due to some requirements. I work in the
Due to some css limitations between IE and the rest of the world I
Due to some rather bizarre architectural considerations I've had to set up something that
Due to some changes on AD-level I have to change a lookup in AD

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.