From owner-freebsd-hackers Thu Mar 23 06:40:08 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA11027 for hackers-outgoing; Thu, 23 Mar 1995 06:40:08 -0800 Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id GAA11014 for ; Thu, 23 Mar 1995 06:39:58 -0800 Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA29729; Thu, 23 Mar 95 15:39:29 +0100 Date: Thu, 23 Mar 95 15:39:29 +0100 From: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Message-Id: <9503231439.AA29729@cabri.obs-besancon.fr> To: hackers@FreeBSD.org Subject: compressed kernels X-Mailer: Emacs Sender: hackers-owner@FreeBSD.org Precedence: bulk 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 =========================================================================