diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-25 11:27:45 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-25 11:32:16 -0700 |
commit | d7d50cc81f72d1275140d7a15c52b6f9e272896f (patch) | |
tree | 875b7ed438412c3fc09ff49b58391787813e3998 /include/kern/common.h | |
parent | c29e0323020e0f96932d0f9b09747d5b2e28e5a6 (diff) | |
download | stm32l4-d7d50cc81f72d1275140d7a15c52b6f9e272896f.tar.gz stm32l4-d7d50cc81f72d1275140d7a15c52b6f9e272896f.tar.bz2 stm32l4-d7d50cc81f72d1275140d7a15c52b6f9e272896f.zip |
Add module for controlling the MPU.
The MPU is a module in arm chips which allow for memory access
protection. They are more primitive than full MMUs, but can still
provide at least basic access control between different process
controls.
Diffstat (limited to 'include/kern/common.h')
-rw-r--r-- | include/kern/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kern/common.h b/include/kern/common.h index 653279e..c5afe3f 100644 --- a/include/kern/common.h +++ b/include/kern/common.h @@ -19,7 +19,7 @@ #define CTZ(n) __builtin_ctz(n) -#define bool int +#define bool unsigned int #ifndef __cplusplus #define true 1 #define false 0 |