Skip to content

Fix define symbol to context pointer #24

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
Feb 23, 2017
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
2 changes: 1 addition & 1 deletion source/client_a.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ UVISOR_BOX_CONFIG(secure_number_client_a, acl, 512, box_context);
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
* when mbed OS is updated. */
#ifdef __uvisor_ctx
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
#define uvisor_ctx ((box_context *) __uvisor_ctx)
#endif

static uint32_t get_a_number()
Expand Down
2 changes: 1 addition & 1 deletion source/client_b.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ UVISOR_BOX_CONFIG(secure_number_client_b, acl, 512, box_context);
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
* when mbed OS is updated. */
#ifdef __uvisor_ctx
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
#define uvisor_ctx ((box_context *) __uvisor_ctx)
#endif

static uint32_t get_a_number()
Expand Down
2 changes: 1 addition & 1 deletion source/secure_number.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ UVISOR_BOX_CONFIG(box_number_store, acl, UVISOR_BOX_STACK_SIZE, box_context);
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
* when mbed OS is updated. */
#ifdef __uvisor_ctx
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
#define uvisor_ctx ((box_context *) __uvisor_ctx)
#endif

/* Gateways */
Expand Down