mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -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
|
||||
protection fault because the task is still executing in a privileged mode.
|
||||
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. */
|
||||
portSWITCH_TO_USER_MODE();
|
||||
|
||||
/* Accessing the privileged only array will now cause a fault. Uncomment
|
||||
the following line to test. */
|
||||
/*cPrivilegedOnlyAccessArray[ 0 ] = 'a';*/
|
||||
/* cPrivilegedOnlyAccessArray[ 0 ] = 'a'; */
|
||||
|
||||
/* The read/write array can still be successfully read and written. */
|
||||
for( l = 0; l < mainREAD_WRITE_ALIGN_SIZE; l++ )
|
||||
|
@ -754,7 +754,7 @@ const volatile unsigned long *pulSystemPeripheralRegister = ( volatile unsigned
|
|||
ulReadData = *pul; */
|
||||
|
||||
/* pul = __privileged_data_start__;
|
||||
ulReadData = *pul; */
|
||||
ulReadData = *pul; */
|
||||
|
||||
/* pul = __privileged_data_end__ - 1;
|
||||
ulReadData = *pul; */
|
||||
|
|
Loading…
Reference in a new issue