flat assembler
Message board for the users of flat assembler.

Index > OS Construction > what type of elf for kernel

Author
Thread Post new topic Reply to topic
FlashBurn



Joined: 06 Jan 2005
Posts: 87
FlashBurn 02 Apr 2006, 11:21
What type of an elf file should I use for the kernel, if I like to support modules which have to use functions from the kernel, but the kernel wont need any symbols from the modules?

Is it possible to make a elf executable file with a symbol table where are all symbols I declared global (or how to export them)?
Post 02 Apr 2006, 11:21
View user's profile Send private message Reply with quote
Adam Kachwalla



Joined: 01 Apr 2006
Posts: 150
Adam Kachwalla 04 Apr 2006, 08:45
Try not to add too much effort to your kernel: Leave it as a flat binary. Also, what kernel functions are you trying to use?
Post 04 Apr 2006, 08:45
View user's profile Send private message Reply with quote
Adam Kachwalla



Joined: 01 Apr 2006
Posts: 150
Adam Kachwalla 04 Apr 2006, 08:46
I meant... when you say "kerbel functions", do you mean things like INT 0x21, etc (interrupts)?
Post 04 Apr 2006, 08:46
View user's profile Send private message Reply with quote
FlashBurn



Joined: 06 Jan 2005
Posts: 87
FlashBurn 04 Apr 2006, 17:34
I mean I have a kernel function "add_module()" and I want every module to call this function for registering itself. So I need to export that label and address so that I can give the right address to the module which wants to call this function.
Post 04 Apr 2006, 17:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.