[TASK] Revise section mapping for Nios II MN

Change-Id: I83f158ec5e574674d9f17d0e413f9ba2a7c51722
Reviewed-on: http://brateggevoat1/gerrit/1315
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Merge OBD user and kernel module

In the previous openPOWERLINK version the OBD could be configured in
kernel or user layer. This doesn't make sense in the split stack,
where OBD is always in user layer.

- Rename obdk.c to obd.c
- Adapt calls to user obd functions to use the generic obd functions
- Move the function declarations from EplObdk.h to EplObd.h
- Remove EplObdk.h, EplObdu.h, EplObducal.c, obdu.c and obducal.c
- Adapt OBD header file includes
- Adapt all build files
- Adapt the module macros and the references

Change-Id: I391a6df56a1dd521b340adb6bc6bd196b881f960
Reviewed-on: http://brateggevoat1/gerrit/1346
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename EplObd.h to obd.h

- Rename EplObd.h
- Adapt references

Change-Id: Ibba918a80d84790b1d4907434588b80515e469db
Reviewed-on: http://brateggevoat1/gerrit/1347
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Remove multi instance functionality from obd.c

Remove the multi-instance macros as they are not used and only one
instance of the OD is needed.

Change-Id: I8aa82953b339abf1931b8dc506933c91b3162c92
Reviewed-on: http://brateggevoat1/gerrit/1348
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
Tested-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename OBD functions

- Rename functions of OBD module according the coding standard
- Adapt all references

Change-Id: I0456bf69aadc5411ee5346f2c834c2592fe584a1
Reviewed-on: http://brateggevoat1/gerrit/1349
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Reformat OBD functions

- Adapt data types
- rename parameters
- Remove EPLDLLEXPORT and PUBLIC macros from declarations

Change-Id: I7c44d1daaebf80dca69e9b25998b032d3b1685d6
Reviewed-on: http://brateggevoat1/gerrit/1350
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename types and variables in obd.h

- Rename types and variables
- Update all references

Change-Id: If97cb236758754953d8739b5a5135333c0879064
Reviewed-on: http://brateggevoat1/gerrit/1351
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename structure member variables in obd.h

- Rename the variables
- Adapt the references

Change-Id: I0104d7da3e07b33f8ef7445711b620bb4d365dfa
Reviewed-on: http://brateggevoat1/gerrit/1352
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Refactor obd.h

- Add doxygen documentation
- Cleanup code

Change-Id: Ied8dd9742b732e8d7ca2b4496835ed4d7894ba5a
Reviewed-on: http://brateggevoat1/gerrit/1353
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Remove EPL_USE_DELETINST_FUNC

obd_deleteInstance() could always be called. Therefore remove
macro for disabling it.

Change-Id: I30d3f364b6c3389aa9cc5491ab4de5e8c8b2b6c8
Reviewed-on: http://brateggevoat1/gerrit/1354
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Refactor OBD module

- Refactor code
- Use size table to get object size instead of switch/case
- Add doxygen file and function headers

Change-Id: I49e0f4d3741258885edc0ec5b0d8b23909ba0ff1
Reviewed-on: http://brateggevoat1/gerrit/1355
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Redesign OBD initialization

- Remove objdict.c files from OBD directories
- Move code from EplObjDef.h into C file obdcreate.c
- Adapt references to OBD create function

Change-Id: I5236318e94c6057b4b55146517fe6a3ac73ba833

Reviewed-on: http://brateggevoat1/gerrit/1356
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Reformat EplObdMacro.h

Change-Id: I5099f6a7542ab70d78beb76028d7e50f04555216
Reviewed-on: http://brateggevoat1/gerrit/1357
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename EplObdMacro.h to obdmacro.h

- Rename file
- Adapt references

Change-Id: I711cd029b273c9e7aaae71744336f6f9619e8409
Reviewed-on: http://brateggevoat1/gerrit/1358
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Cleanup OBD macros

- Rename OBD macros
- Remove unused macros

Change-Id: Ia636f9fa4e4d2680e7d37bfdfe748704f3c06482
Reviewed-on: http://brateggevoat1/gerrit/1359
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add documentation for OBD module

- Add module documentation
- Add documentation for OD definition macros
- Add objdict.h files to the documentation

Change-Id: Ic34490d3882106c0d3d42e1e5f9fde5eaaa49c15
Reviewed-on: http://brateggevoat1/gerrit/1360
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Wolfgang Seiss <wolfgang.seiss@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add inline macros to hostif library for Nios II target

Change-Id: Ie11e1979cddc97a579f915f4659651deeee5ef7a
Reviewed-on: http://brateggevoat1/gerrit/1316
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix FPGA MN and CN platform documentation

- Add Qsys tool handling information
- Update path to demos
- Delete reference to readme.txt

Change-Id: I12cd53526ae5b0485aff3dfd021a0051f0cbc4ae
Reviewed-on: http://brateggevoat1/gerrit/1344
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Change Nios II /f data cache line size to 4 byte

This fix minimizes the CPU stalls in case of data cache misses.

Change-Id: I94f534f1cc37edbd1ba9857ba03bde0088ef9a02
Reviewed-on: http://brateggevoat1/gerrit/1341
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add gitignore files to Xilinx demos

Change-Id: I39c0a5bd8a50d9e71b3d59d59ea33af0326cf70b
Reviewed-on: http://brateggevoat1/gerrit/1342
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>