commit | fb505b3cfd7ead2c6b6c9bc30a705ad29154a998 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Tue Jul 24 12:19:16 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 08 14:49:39 2019 -0500 |
tree | 09580ca065333f044ce5c34de8b20ba429eef1e5 | |
parent | 04382b9a2ad11b752e184abd4b8d7f437cb6a971 [diff] |
spinlock: Support ztest mocking Spinlocks are written above the arch-provided _arch_irq_un/lock() calls. But those aren't stubbed by the mocking layer, and as it's not an "arch" I don't see an obvious place to put them. Handle them in spinlock.h. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>