Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 95 15:39:29 +0100
From:      jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi)
To:        hackers@FreeBSD.org
Subject:   compressed kernels
Message-ID:  <9503231439.AA29729@cabri.obs-besancon.fr>

next in thread | raw e-mail | index | archive | help

I have tried to build compressed kernels ala Linux (yes, I need more
space on my fixit floppy!). All I got is a crash when booting the
compressed kernel. This is not surprising if you look at the start
code I used :-)

	    .text
	start:
	    call _kunzip
	    jmp _new_kernel   

There is no problem if I link whith 'main(){kunzip();}' and run as a
'normal' program instead of the .S code above, so I conclude that I
have to use a more complex start code!

Unfortunately, writing this is far beyond my capabilities.  All my
knowledge in assembly programing is resumed in the 2 lines above!

Any helper?

Jean-Marc

    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    Jean-Marc Zucconi             |         jmz@cabri.obs-besancon.fr
    Observatoire de Besancon      |    
    F 25010 Besancon cedex        | PGP Key: finger jmz@cabri.obs-besancon.fr
    =========================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503231439.AA29729>