- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
i need to create a customized boot code for my application.
so, according to the software manual i can make use of alt_main() for implementation of my own coding..
can someone please explain me how exactly does the alt_main() function works..
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AKAYA,
Normally, your program’s entry point is the function main(). There is an alternate entry point, alt_main(), that you can use to gain greater control of the boot sequence. The difference between entering at main() and entering at alt_main() is the difference between hosted and free-standing applications.
Reference: https://www.intel.com/content/www/us/en/programmable/documentation/mwh1416947091611/mwh1416946758774.html
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the reply....
can we use both alt_main() and main() in same project?
if its possible then will the alt_main() fuction calls the main() function by default or we need to call the function explicitly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AKAYA,
Kindly refer to 'Customizing the Boot Sequence' section in https://www.intel.com/content/www/us/en/programmable/documentation/mwh1416947091611/mwh1416946758774.html
Thanks
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page