Hi all,
I'm working on the Blackfin-linux platform. For blackfin, Level 1(L1)
memories are located on the chip and are faster than the off-chip
SDRAM. So many users want to load some key driver code into it to
improve the performance.
If user specify a routine running in the L1 memory, there we created
another text section in the ELF file, we called "text_l1" section.
If the driver is built in the kernel, we can load the code to the L1
memory by boot loader. But when the driver is built as a module, if we
still want to load some codes to the L1 memory, we have to change some
common codes, mainly in the file "linux-2.6.x/kernel/module.c". We
can
1) Use an architecture macro to add the patch code.
2) Use an Kconfig option macro to add the patch code.
I want to know which one is more reasonable and if it's acceptable, thanks.
I really appreciate your any suggestions and comments.
Regards,
-Aubrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]