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

Documentation: wrong signature for e_read() (moved from epiphany-libs) #25

Open
aolofsson opened this issue Jul 25, 2014 · 1 comment
Open

Comments

@aolofsson
Copy link
Member

In pages 93 and 95 of the Epiphany SDK Reference (http://adapteva.com/docs/epiphany_sdk_ref.pdf) the signature for e_read() is described as:

void *e_read(void *remote, void *dst, unsigned row, unsigned col,
const void *src, size_t bytes);

The position of dst is wrong, it actually goes after src:

void *e_read(void *remote, unsigned row, unsigned col,
const void *src, void *dst, size_t bytes);

I haven't used e_write() yet, but I guess it has the same problem.

@aolofsson aolofsson changed the title Documentation: wrong signature for e_read() Documentation: wrong signature for e_read() (moved from epiphany-libs) Jul 25, 2014
@kyab
Copy link

kyab commented Jun 1, 2015

Why don't you update PDF?
Also, there should be reference for new APIs like e_shm_alloc() etc. It is used in basic hello_world example which beginner will look in first, since tag 2014.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants