Re: Booting questions ....

From: Willem Jan Withagen (wjw_at_withagen.nl)
Date: 11/05/04

  • Next message: Karim Fodil-Lemelin: "Re: Removing T/TCP and replacing it with something simpler"
    Date: Fri, 05 Nov 2004 21:34:26 +0100
    To: John Baldwin <jhb@freebsd.org>
    
    

    John Baldwin wrote:

    [about the loader having flat addressspace....]

    >>But is it unsegmented? (perhaps I have a wrong idea of a flat address
    >>space)
    >
    >
    > Yes, it is unsegmented. You can translate physical addresses to virtual
    > addresses using PTOV() and vice versa using VTOP().

    I've run accross these calls, just need to figure out how to work them.

    >>What I mean with this is that I can iterate from 0xa000 to 0xffffffff with
    >>a "char *p" and do test_bytes( 0xa000, 0xffffffff, 0xff). (assuming this
    >>all has memory)

    > Yes.

    Would be nice....

    >>Next is then which ranges are valid to test, and then things really start
    >>to get complicated and arch dependant. Which is why I ended up in machdep.c
    >>right after the setting up of the memory ranges.
    >
    > Heh, the above memory mapping is also i386 specific. Alpha only has a small
    > bit of memory mapped in the loader, same with sparc64, etc.

    Ehhhh, again more reasons to put this in the kernel, or something that closely
    resembles a kernel.

    --WjW

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Karim Fodil-Lemelin: "Re: Removing T/TCP and replacing it with something simpler"

    Relevant Pages

    • Re: Booting questions ....
      ... >> where memory is already setup to be one flat address space. ... > loader and executed. ... Memtest86 is not for the faint of heart to look at. ... The next step would be to "imitate" a kernel booting to the point where I got ...
      (freebsd-arch)
    • Re: "linker" for Merlin
      ... but to execute code at run time to essentially dynamically ... link the separately assembled components. ... version of Merlin and wrote such a linking loader. ... placed into non-overlapping memory locations (like Jim Butterfield's ...
      (comp.sys.apple2.programmer)
    • Re: some questions
      ... and this is its first real job: It maps it from File Alignment ... into Memory Alignment. ... loader) and then moves the important code and data to an appropriate ... Code, proposing an Assembler, a Disassembler, and so on... ...
      (alt.lang.asm)
    • Re: AppDomains and sharing threadpool
      ... You may overly fragment the heap, ... The problem is you're going to have 2GB of memory total to play with in your ... the Managed Heap) will be split up between the processors. ... It sounds more like you want a Generic Loader Service, ...
      (microsoft.public.dotnet.framework.clr)
    • loader init failed in winCE kernel
      ... blocking in loader initialization function it self in private winCE ... Here i am not allocating the Dll First virtual memory address to ... PB Debugger The Kernel Debugger is waiting to connect with target. ... 3600 PID:400002 TID:410002 LoaderInit: Initialing loader ...
      (microsoft.public.windowsce.platbuilder)