Commit Graph

100 Commits

Author SHA1 Message Date
christos 68b10e62c4 PR/3407: Koji Imada: Modern BIOS's can boot from higher than second hard disk 1997-03-29 21:40:19 +00:00
thorpej 9fd32a826d Fix name conflict with boot() prototype in <sys/reboot.h> 1996-08-30 01:34:01 +00:00
mycroft 60f46fb10b Increment the boot block version. 1996-06-18 07:51:26 +00:00
mycroft 584f242944 Don't advance to the next default name if the user typed something.
Make gets() return void.
1996-06-18 07:47:02 +00:00
mycroft 398b638fbb Add comments on #else and #endif. Move #ifndefs outside of comment blocks. 1996-06-18 07:17:47 +00:00
mycroft b360b90a92 Save %esi and %edi around BIOS calls. Also, reference arguments through
%esp rather than %ebp, to avoid needing to change %ebp on entry.
1996-06-18 07:03:44 +00:00
mycroft f2d34a2c9a Compare device types with strcmp(). Remove special case for `wt'. 1996-06-18 06:10:33 +00:00
mycroft 8a706cd17f Add a ONEDISK option to elide the getc(). 1996-06-18 06:06:38 +00:00
mycroft 0ca0eeec5f Clean up the install target. 1996-06-18 06:05:44 +00:00
mycroft 96e91cd027 Don't save caller-saved registers. 1996-01-06 22:15:29 +00:00
perry 765bb97fe9 fix my own pr 1762, in which it was noted that boot2 used a busy loop
to time out the boot prompt.  Now uses a usleep() routine that calls
the BIOS and the functionality is separate from gets(). Timeout is
#defined to 5 seconds. Also did some minor cleanup in preparation to
prototype/ANSIfy everything.
1995-12-23 17:21:23 +00:00
cgd e9ef628234 don't link against libkern, so that boot blocks will work properly.
(pulled down from 1.1 release branch.)
1995-11-16 22:38:16 +00:00
christos e14fb59c60 Fix building of libkern that broke with yesterday's fixes 1995-06-26 03:24:17 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
mycroft ed647f250b This hasn't been used for a long time. 1995-04-12 22:14:06 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
mycroft b83b02cc20 Remove unneeded variable. 1995-03-12 12:09:18 +00:00
mycroft b9cb1cdd51 Update version number. 1995-03-12 00:13:47 +00:00
mycroft 40a71a0a2c Various minor cleanup. 1995-03-12 00:10:53 +00:00
mycroft 906d699af5 Make the twiddler like libsa. 1995-02-21 06:34:58 +00:00
mycroft c18d708d01 Note changes. 1995-01-18 18:10:39 +00:00
mycroft 02354ddc3c Keep the sti/cli pairs completely inside {real,prot}_to_{prot,real}. 1995-01-18 17:50:50 +00:00
mycroft 4fabcbda57 Remove two useless instructions. 1995-01-18 17:34:18 +00:00
mycroft 799aaa55c3 Various cleanup:
Use the global version of asm.h.
Move `boot2' into the first sector.
Replace `ouraddr' with `ourseg'.
1995-01-18 17:28:13 +00:00
mycroft 7377f34093 Clean up deleted files. 1995-01-18 17:28:12 +00:00
mycroft 373ace5180 Various cleanup:
Use the global version of asm.h.
Move `boot2' into the first sector.
Replace `ouraddr' with `ourseg'.
1995-01-18 17:28:07 +00:00
mycroft bb563c9eec Do I/O through iobuf rather than address 0, where applicable. Avoid an extra
copy in devread().
1995-01-18 16:22:35 +00:00
mycroft 46adfb5ac4 Eliminate extra arguments to some functions. 1995-01-18 15:46:34 +00:00
mycroft 37a27b27ac Minor change. 1995-01-18 15:42:30 +00:00
mycroft 2cc5da69ef Minor rearrangement. 1995-01-18 15:09:55 +00:00
mycroft ef7e46cf77 24 more bytes... 1995-01-18 03:13:37 +00:00
mycroft d5eea96416 Save another 80 bytes, and clean up the code a little. 1995-01-18 02:54:23 +00:00
mycroft 61f1304243 44 bytes smaller. 1995-01-18 01:54:25 +00:00
mycroft 48ab9c0f4b Make the twiddler 32 bytes smaller, but still have it twirl. 1995-01-17 04:49:27 +00:00
mycroft 87b741e26f Some general cleanup, and add support for serial terminals, `#ifdef SERIAL'. 1995-01-16 02:50:32 +00:00
mycroft beb97d8b0a Use getc(), not getchar(). 1995-01-16 02:21:15 +00:00
mycroft 7e500c7455 Recode the input routine a bit. Handle DEL like backspace. 1995-01-16 02:19:09 +00:00
ws 3e0b9f0694 Implement symbolic links (plus a minor fix for %x printing) 1995-01-09 22:13:10 +00:00
cgd 022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
mycroft be18e790ff Get the label sector right if there is no NetBSD partition in the MBR. 1994-10-20 22:44:37 +00:00
mycroft 55be0e4936 Don't lose if the symbol table is empty. 1994-07-27 01:48:29 +00:00
mycroft 233b5d12f4 Make sure this runs on a 386. 1994-07-26 19:33:49 +00:00
mycroft f9a027fa33 Update version number. 1994-07-21 20:34:13 +00:00
mycroft 1dda4b8dab Old fs compat. 1994-07-21 20:25:17 +00:00
mycroft 285ed388fb Give a better diagnostic message for the previous. 1994-07-21 19:05:31 +00:00
mycroft 64232122c2 Make a rather lame attempt to discover bogus directories and not get wedged
in an infinite loop.
1994-07-21 18:06:26 +00:00
deraadt 877c6d65ed do not use /usr/include to compile
link against libkern, not libc
1994-07-01 03:02:29 +00:00
mycroft 5c8e7d1afc Format police. 1994-06-13 19:32:05 +00:00
cgd 6e12a4d7e4 update for 4.4-Lite file system includes and macros 1994-06-13 19:15:14 +00:00
cgd 55d406e5e7 clean output, take the blame for a thing or two, and shrink more 1994-05-01 06:46:27 +00:00