mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
Formatting only.
This commit is contained in:
parent
8bbd6c243e
commit
8560e094f2
|
@ -461,14 +461,14 @@ char cTemp;
|
||||||
/* Writing off the end of the RAM allocated to this task will *NOT* cause a
|
/* Writing off the end of the RAM allocated to this task will *NOT* cause a
|
||||||
protection fault because the task is still executing in a privileged mode.
|
protection fault because the task is still executing in a privileged mode.
|
||||||
Uncomment the following to test. */
|
Uncomment the following to test. */
|
||||||
/*cPrivilegedOnlyAccessArray[ mainPRIVILEGED_ONLY_ACCESS_ALIGN_SIZE ] = 'a';*/
|
/* cPrivilegedOnlyAccessArray[ mainPRIVILEGED_ONLY_ACCESS_ALIGN_SIZE ] = 'a'; */
|
||||||
|
|
||||||
/* Now set the task into user mode. */
|
/* Now set the task into user mode. */
|
||||||
portSWITCH_TO_USER_MODE();
|
portSWITCH_TO_USER_MODE();
|
||||||
|
|
||||||
/* Accessing the privileged only array will now cause a fault. Uncomment
|
/* Accessing the privileged only array will now cause a fault. Uncomment
|
||||||
the following line to test. */
|
the following line to test. */
|
||||||
/*cPrivilegedOnlyAccessArray[ 0 ] = 'a';*/
|
/* cPrivilegedOnlyAccessArray[ 0 ] = 'a'; */
|
||||||
|
|
||||||
/* The read/write array can still be successfully read and written. */
|
/* The read/write array can still be successfully read and written. */
|
||||||
for( l = 0; l < mainREAD_WRITE_ALIGN_SIZE; l++ )
|
for( l = 0; l < mainREAD_WRITE_ALIGN_SIZE; l++ )
|
||||||
|
|
Loading…
Reference in a new issue