1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

release iRCCE lock before termination of the application

This commit is contained in:
Stefan Lankes 2016-04-13 21:42:18 +02:00
parent dac0942418
commit 799a89a31d

View file

@ -1196,8 +1196,8 @@ int RCCE_finalize(void){
// for (iword=0; iword<(RCCE_BUFF_SIZE_MAX)/sizeof(int); iword++)
// ((int *)(RCCE_comm_buffer[ue]))[iword] = 0;
// MPBunalloc(&(RCCE_comm_buffer[ue]));
#ifndef __hermit__
RCCE_release_lock(RCCE_IAM);
#ifndef __hermit__
// each core needs to unmap all special memory locations
for (ue=0; ue<RCCE_NP; ue++) {
FreeConfigReg((int *)(virtual_lockaddress[ue]));