This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linuxdsp:docs:linux-kernel-and-drivers:sram [28 Dec 2020 06:54] – [How to add another device to use the memory in sram] Sunny Feng | resources:tools-software:linuxdsp:docs:linux-kernel-and-drivers:sram [28 Dec 2020 06:56] (current) – [SRAM driver] Sunny Feng | ||
---|---|---|---|
Line 42: | Line 42: | ||
===== SRAM driver ===== | ===== SRAM driver ===== | ||
- | There are two main c file under the driver/ | + | There are two main c files under the driver/ |
- | * sram.c | + | |
- | * sram_mmap.c | + | : will create a / |
+ | | ||
+ | : one example to use the sram framework, allocate memory from the specified pool defined in dts, and then free the memory | ||
==== Reserved SRAM pools in dts file ==== | ==== Reserved SRAM pools in dts file ==== |