Commit graph

33 commits

Author SHA1 Message Date
Soren Ptak
db8f233276 Remove the check for clear tick interrupt. Format comments a little. Set copyright year for 2024 2024-02-02 10:59:15 -05:00
Soren Ptak
797f2f22bb Formatting tweaks for mpu_wrappers_v2_asm.S 2024-02-01 17:04:04 -05:00
Soren Ptak
56a51ff9f5 Formatting changes, move function declarations around to make the file flow a bit better 2024-02-01 16:40:30 -05:00
Soren Ptak
ec1332e1f4 Remove the default peripheral MPU region from the port. Add declarations of private functions to the top of port.c 2024-02-01 15:00:33 -05:00
Soren Ptak
9cf6c26a29 Add in functions to enable and disable the MPU background region. Add the calls to it in the MPU Setup function. Change the port's scheduler running variable name so it is different from the Kernels. Fix two incorrect comments SPSR -> CPSR 2024-02-01 12:42:02 -05:00
Soren Ptak
ca37a2cfc7 Respond to additional review feedback. Use periods at end of briefs. Remove same line brief. Add a check back in, change some file names, slight code formatting change. 2024-01-31 14:56:48 -05:00
Soren Ptak
11beb7156e Formatting fixes 2024-01-30 14:28:02 -05:00
Soren Ptak
91d4d2416a Respond to PR Feedback
Fix incorrect context size define
Add MPU Region alignment check
Use highest priority MPU region when not provided xRegions
Remove unused variables
Remove dangling function declarations
2024-01-30 14:15:10 -05:00
Soren Ptak
ae6fc13111 Formatting fix 2024-01-12 18:27:25 -05:00
Soren Ptak
ec679094e9 Remove the end of interrupt clearing from the FreeRTOS_IRQ_Handler. Users should clear it in vApplicationIRQHandler() 2024-01-12 17:06:59 -05:00
Soren Ptak
e3d023b6bd Move the declaration of prvGetMPURegionSizeSetting to the top of the file 2024-01-12 17:06:29 -05:00
Soren Ptak
53c84a1f6f Update the port to use FreeRTOS_IRQ_Handler instead of the VIM functions 2024-01-10 09:19:56 -05:00
Soren Ptak
745384b04d Make vPortYieldWithinAPI and FreeRTOS_Tick_Handler into more configurable functions 2024-01-09 15:45:45 -05:00
Soren Ptak
8f9deb4514 Add the system call table as an actual extern declaration to the ASM file 2024-01-09 11:34:48 -05:00
Soren Ptak
aacae9f21c Fix formatting in portmacro_asm.h 2024-01-04 12:16:55 -05:00
Soren Ptak
63dfe612be Fix assert check in svc enter, remove un-used defines 2024-01-04 08:59:47 -05:00
Soren Ptak
0fc0a5fbba Formatting fix 2024-01-03 17:14:36 -05:00
Soren Ptak
d23078088c Remove the use of ulContext and a controlled SVC stack pointer for the port 2024-01-03 17:04:10 -05:00
Soren Ptak
ae127206fa Formatting changes for the portASM.S file 2024-01-03 11:06:40 -05:00
Soren Ptak
56b400f1a2 Change the parameters for prvMpuSetRegion() to follow the naming convention a bit more 2024-01-03 11:05:50 -05:00
Soren Ptak
fd19c0ee52 Throw an error if configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS is set to 1 2024-01-02 15:15:34 -05:00
Soren Ptak
e25b6e145d Formatting fix 2024-01-02 13:26:24 -05:00
Soren Ptak
be4dc05b78 Slight format change 2024-01-02 13:06:59 -05:00
Soren Ptak
b2c406c3a3 Change to make the .clang-format file work with V14 of clang-format. Moving the comment for PRIVILEGED_FUNCTION to the front to help with formatting, also makes more sense when looking at the func imo 2024-01-02 12:58:46 -05:00
Soren Ptak
4c53a433df Add the .clang-format file that is being used to the port 2024-01-02 11:48:48 -05:00
Soren Ptak
7650690bef Clang format portmacro.h with slight tweaks to the format options 2024-01-02 11:48:30 -05:00
Soren Ptak
4f65931294 Clang format port.c with slight tweaks to the format options 2024-01-02 11:48:21 -05:00
Soren Ptak
89227494cf Clang format the mpu_wrappers_v2_asm.h file with slight tweaks to the format options 2024-01-02 11:48:07 -05:00
Soren Ptak
43946db07b Refactoring xPortIsAuthorizedToAccessBuffer 2023-12-29 11:18:27 -05:00
Soren Ptak
a1191243f9 Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into ARM_CRx_MPU 2023-12-28 17:51:47 -05:00
Soren Ptak
80d09879d1 Add in Access Control List support to the port 2023-12-28 17:51:42 -05:00
Soren Ptak
26019cd2d7 Fix copyright headers in the new port files 2023-12-27 21:44:04 -05:00
Soren Ptak
4a74745eb2 First draft of a CRx MPU Port for FreeRTOS 2023-12-27 18:50:31 -05:00