home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21651 < prev    next >
Encoding:
Text File  |  1992-12-24  |  1.8 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!Sirius.dfn.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: BSS initialization (was Re: IMPORTANT [BUG in 0.99] Re: [ANNOUNCE]: linux version 0.99)
  5. Message-ID: <1992Dec25.002626.23667@bernina.ethz.ch>
  6. Keywords: kernel linux 0.99, bss initialization
  7. Sender: news@bernina.ethz.ch (USENET News System)
  8. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  9. References: <1992Dec22.054316.15893@sol.UVic.CA> <2B3751A7.A2E8@tct.com> <20367@ksr.com>
  10. Date: Fri, 25 Dec 1992 00:26:26 GMT
  11. Lines: 23
  12.  
  13. In article <20367@ksr.com> zdenek@ksr.com (Zdenek Radouch) writes:
  14. > Also, why does the init code run in 16-bit mode? I'd assume that the first
  15. > five instructions in the boot code would put the processor in some
  16. > reasonable mode.
  17.  
  18. The reason why so much is done in 16 bit mode is probably because it's
  19. easier to access the BIOS this way and because there are comparably few
  20. occasions where 32 bit arithmetic is necessary.
  21.  
  22. About zeroing BSS: LILO currently does that (unstripped kernels since 0.3,
  23. traditional kernel images since 0.6 (*)). However, it might be a good idea
  24. to handle it in setup or in the kernel itself, because Shoelace, the
  25. floppy boot sector and probably also BOOTLIN don't initialize BSS.
  26.  
  27. (*) It may miss a few bytes when using traditional kernels, but this
  28.     shouldn't really be a problem. I might fix this inversion 0.8.
  29.  
  30. - Werner
  31. -- 
  32.    _________________________________________________________________________
  33.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  34.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  35. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  36.