Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
cac8b2ff
Commit
cac8b2ff
authored
Jan 04, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+comment about adding to (void *)
parent
321e5f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
elphel393-mem.c
src/drivers/elphel/elphel393-mem.c
+3
-0
No files found.
src/drivers/elphel/elphel393-mem.c
View file @
cac8b2ff
...
@@ -190,6 +190,9 @@ int elphelmem_update_partitions(void){
...
@@ -190,6 +190,9 @@ int elphelmem_update_partitions(void){
tmpsize
=
_elphel_buf
.
circbuf_start_offset
;
tmpsize
=
_elphel_buf
.
circbuf_start_offset
;
// vaddrs are (void *) later assigned to buffer pointer
// this (void *) is byte size and so are tmpsize units
// fill out buffers info
// fill out buffers info
_elphel_buf
.
circbuf_chn0_vaddr
=
_elphel_buf
.
vaddr
+
tmpsize
;
_elphel_buf
.
circbuf_chn0_vaddr
=
_elphel_buf
.
vaddr
+
tmpsize
;
_elphel_buf
.
circbuf_chn0_paddr
=
_elphel_buf
.
paddr
+
tmpsize
;
_elphel_buf
.
circbuf_chn0_paddr
=
_elphel_buf
.
paddr
+
tmpsize
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment