Skip to content

Update the dynamic linkage code to expose new cmutils functions #740

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

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to the ZSS package will be documented in this file.

## `3.2.0`
- Enhancement: expose new cmutils functions (#740)

## `3.1.0`
- Enhancement: module registry (#732)

Expand Down
4 changes: 4 additions & 0 deletions c/zis/stubinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@
stubVector[ZIS_STUB_CMUMAPGH] = (void*)crossMemoryMapGetHandle;
stubVector[ZIS_STUB_CMUMAPGT] = (void*)crossMemoryMapGet;
stubVector[ZIS_STUB_CMUMAPIT] = (void*)crossMemoryMapIterate;
stubVector[ZIS_STUB_CMALLCX ] = (void*)cmAllocExec;
stubVector[ZIS_STUB_CMFREEX ] = (void*)cmFreeExec;
stubVector[ZIS_STUB_CMALLC2X] = (void*)cmAlloc2Exec;
stubVector[ZIS_STUB_CMFREE2X] = (void*)cmFree2Exec;
stubVector[ZIS_STUB_FBMGRCRT] = (void*)fbMgrCreate;
stubVector[ZIS_STUB_FBMGRALC] = (void*)fbMgrAlloc;
stubVector[ZIS_STUB_FBMGRFRE] = (void*)fbMgrFree;
Expand Down
6 changes: 5 additions & 1 deletion h/zis/zisstubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
FULL BACKWARD COMPATIBILITY MUST BE MAINTAINED
*/

#define ZIS_STUBS_VERSION 5
#define ZIS_STUBS_VERSION 6

/*
How does a user check for compatibility?
Expand Down Expand Up @@ -232,6 +232,10 @@
#define ZIS_STUB_CMUMAPGH 278 /* crossMemoryMapGetHandle */
#define ZIS_STUB_CMUMAPGT 279 /* crossMemoryMapGet */
#define ZIS_STUB_CMUMAPIT 280 /* crossMemoryMapIterate */
#define ZIS_STUB_CMALLCX 281 /* cmAllocExec */
#define ZIS_STUB_CMFREEX 282 /* cmFreeExec */
#define ZIS_STUB_CMALLC2X 283 /* cmAlloc2Exec */
#define ZIS_STUB_CMFREE2X 284 /* cmFree2Exec */

/* collections, 290-349 */
#define ZIS_STUB_FBMGRCRT 290 /* fbMgrCreate */
Expand Down
Loading