mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Move internal static garbage into vmst.
Potentially, this could have ended up being non-zero when used by concurrent threads.
This commit is contained in:
parent
1e7343d385
commit
9bda566997
2 changed files with 9 additions and 11 deletions
|
|
@ -146,6 +146,7 @@ typedef struct {
|
|||
uint8_t *_extram; /*! External RAM pointer, or NULL */
|
||||
uint32_t _extramLen; /*! Length of external RAM */
|
||||
bool _extramDirty; /*! Flag to indicate VM code has modified extram since last run */
|
||||
uint32_t garbage; /*! Used for returning valid pointer when operations fail */
|
||||
} uvm32_state_t;
|
||||
|
||||
/*! Initialise a VM instance */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue