jameswalmsley / bitthunder

BitThunder - Reliable, real time, portable, scalable, embedded operating system, RTOS.
http://bitthunder.org
Other
168 stars 48 forks source link

[EXPORTS] Complete API exports. #16

Closed jameswalmsley closed 10 years ago

jameswalmsley commented 10 years ago

The entire kernel needs the BT_EXPORT_SYMBOL() to be added below any API or global kernel symbol. This is in preparation for implementing loadable kernel modules.

jameswalmsley commented 10 years ago

Currently working on this branch and updating it as I go through the code.

jameswalmsley commented 10 years ago

Created a script to make the task more easy, and for checking symbol exports in the future. ./scripts/symbol_status.sh [elf_file]

jameswalmsley commented 10 years ago

Now fairly confident we have every important symbol that should be exported. It maybe that some have been added to the ignore list when they should be exported but this will be reviewed over time. Going to update the code to ensure the table is really inserted correctly into the binary and then sign this branch off.