Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
461560c9
"...composable_kernel.git" did not exist on "aafb5eb18781f1ac9e06a17c3e53d968dd53dcc0"
Commit
461560c9
authored
Sep 28, 2022
by
Antoine Kaufmann
Browse files
basicmem: use blocking connections for initialization
parent
ef26d5e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sims/mem/basicmem/basicmem.cc
sims/mem/basicmem/basicmem.cc
+1
-2
No files found.
sims/mem/basicmem/basicmem.cc
View file @
461560c9
...
@@ -218,8 +218,7 @@ int main(int argc, char *argv[]) {
...
@@ -218,8 +218,7 @@ int main(int argc, char *argv[]) {
shmPath
=
argv
[
5
];
shmPath
=
argv
[
5
];
memParams
.
sync_mode
=
kSimbricksBaseIfSyncOptional
;
memParams
.
sync_mode
=
kSimbricksBaseIfSyncOptional
;
memParams
.
blocking_conn
=
false
;
memParams
.
blocking_conn
=
true
;
memif
.
base
.
sync
=
sync_mem
;
mem_array
=
(
uint8_t
*
)
malloc
(
size
*
sizeof
(
uint8_t
));
mem_array
=
(
uint8_t
*
)
malloc
(
size
*
sizeof
(
uint8_t
));
if
(
!
mem_array
){
if
(
!
mem_array
){
...
...
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