Skip to content

Commit 0e3ce56

Browse files
author
meihuisu
committed
wip
1 parent b4657da commit 0e3ce56

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ucvm/ucvm.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,13 @@ int ucvm_get_resources(ucvm_resource_t *res, int *len)
12611261
return(UCVM_CODE_ERROR);
12621262
}
12631263
#endif
1264+
#ifdef _UCVM_ENABLE_UWPKFCVM
1265+
if (ucvm_save_resource(UCVM_RESOURCE_MODEL, UCVM_MODEL_CRUSTAL,
1266+
UCVM_MODEL_UWPKFCVM, "", res, numinst++, *len)
1267+
!= UCVM_CODE_SUCCESS) {
1268+
return(UCVM_CODE_ERROR);
1269+
}
1270+
#endif
12641271
#ifdef _UCVM_ENABLE_CVMH
12651272
if (ucvm_save_resource(UCVM_RESOURCE_MODEL, UCVM_MODEL_CRUSTAL,
12661273
UCVM_MODEL_CVMH, "", res, numinst++, *len)

0 commit comments

Comments
 (0)