Hi Guys,
I have done with bootloader and now I want to move forward.
So, I have written a simple routine in C which just which just prints a message .
But problem is that how to link this C source file with assembly file, do I need to organize my C file at some particular location and then to make jump to that location from asm file ?
Excuse me for my English.....
How to start loading kernel in memory
-
- Posts: 10
- Joined: Mon Aug 15, 2011 1:33 am
- Location: Pune,India
Re: How to start loading kernel in memory
So, you have problem loading file, execute it, or linking the kernel image?VishalPawale wrote:Hi Guys,
I have done with bootloader and now I want to move forward.
So, I have written a simple routine in C which just which just prints a message .
But problem is that how to link this C source file with assembly file, do I need to organize my C file at some particular location and then to make jump to that location from asm file ?
Excuse me for my English.....
Wait, you said you've done with bootloader, are you sure?
Anyway, I try to answer:
1. Loading file - check the tutorial on wiki Tutorials
2. Execute it - check the tutorial on wiki Tutorials
3. Linking issue - check the tutorial on wiki Tutorials
Is that helpful?