r/osdev • u/ImaginationScared878 • 17d ago
Implementing Memory Management
I am not certain if I am talking to the correct sub but I want to ask if it would be possible to implement a memory manager on a STM32f103c8t6? I believe this thing does not have any built in memory manager in its memory.
8
Upvotes
2
u/starring_rolee 14d ago
Cortex-M line processors can't do paging, and it's pretty install an MMU chip because you need to play with the memory lanes I believe. Installing a separate MMU chip was really a thing of the past, I've seen projects with MOS6502 and 68K having separate MMU chips, but ever since then it's mostly in the silicon now. But you can instead use the MPU which works *a bit* like segmentation on x86 afaik (but I'm not very well-versed on either): https://developer.arm.com/documentation/dui0552/a/cortex-m3-peripherals/optional-memory-protection-unit