Depending on how things end up I may get in there and start mucking
around. Your advice is greatly appreciated.
The data section is pretty small now, something like 64 bytes(this is
entirely a guesstimate based on the value of the pointer to edata, is
bdata defined on 5l? I'm getting an undefined error if I try to use
it), but I'm assuming as I get more and more of Inferno functioning
this will get bigger.
What I'm thinking of doing regarding differentiating the immutable
data is to use to symbol const to mark immutable data. Anything
marked const would go in the text section, anything else would go to
the data section.
But right now all of this is just speculation. I need to get the lcd
before anything else.
Noah
On Jan 31, 2006, at 2:48 PM, [EMAIL PROTECTED] wrote:
s is not dificult to understand.
Grep for HEADTYPE in the source, only asm.c and obj.c will likely
come up, and in each only one function: obj.c:main() sets up the
variables that say where the virtual addresses of the sections are
and asm.c:asmb() seeks around using those values for the different
header types and writes the stuff out.
Usually the data section has 2 types of data in it, constant data
and data that can be modiied by the programme, how are you planning
to separate those out?