使用mpu的一个region模拟缺页
This commit is contained in:
@@ -22,15 +22,18 @@ enum thread_state
|
||||
THREAD_SUSPEND,
|
||||
THREAD_READY,
|
||||
};
|
||||
|
||||
typedef struct pf
|
||||
typedef struct
|
||||
{
|
||||
umword_t rg1[8]; //!< r4-r11
|
||||
umword_t rg0[4]; //!< r0-r3
|
||||
umword_t r12;
|
||||
umword_t lr;
|
||||
umword_t pc;
|
||||
umword_t xpsr;
|
||||
} pf_s_t;
|
||||
typedef struct pf
|
||||
{
|
||||
umword_t rg1[8]; //!< r4-r11
|
||||
pf_s_t pf_s;
|
||||
} pf_t;
|
||||
|
||||
typedef struct sp_info
|
||||
|
||||
Reference in New Issue
Block a user