Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ARM semi-hosting support #455

Merged
merged 1 commit into from
Aug 12, 2016

Conversation

Fabien-Chouteau
Copy link
Contributor

This patch adds the following operations:

  • SYS_OPEN
  • SYS_CLOSE
  • SYS_WRITE
  • SYS_READ
  • SYS_ERRNO
  • SYS_REMOVE
  • SYS_SEEK

The use of utility functions mem_read() and mem_write() add an
unnecessary memcpy() call. All buffer transfer could be done directly in
the sl->q_buf data instead of using a temporary transfer buffer.
However, given the relative slowness of target memory transfer, I don't
think that this has a big impact on performances

This patch adds the following operations:

 - SYS_OPEN
 - SYS_CLOSE
 - SYS_WRITE
 - SYS_READ
 - SYS_ERRNO
 - SYS_REMOVE
 - SYS_SEEK

The use of utility functions mem_read() and mem_write() add an
unnecessary memcpy() call. All buffer transfer could be done directly in
the sl->q_buf data instead of using a temporary transfer buffer.
However, given the relative slowness of target memory transfer, I don't
think that this has a big impact on performances
@texane texane merged commit 28dc5c9 into stlink-org:master Aug 12, 2016
@Nightwalker-87 Nightwalker-87 added this to the v1.3.0 milestone Mar 16, 2020
@Nightwalker-87 Nightwalker-87 linked an issue Mar 16, 2020 that may be closed by this pull request
@Nightwalker-87 Nightwalker-87 linked an issue Mar 17, 2020 that may be closed by this pull request
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants