aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/forth
Commit message (Collapse)AuthorAgeFilesLines
* Document the "console" setting in loader.conf, suggesting vidconsoleRobert Watson2001-11-271-0/+6
| | | | | | | or comconsole. Notes: svn path=/head/; revision=87004
* o Add 'kern.maxusers' to the list of commented out sample tunableRobert Watson2001-11-261-0/+1
| | | | | | | | variables, since that can now be tuned at boot-time without a recompile. Notes: svn path=/head/; revision=86902
* Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support.Mitsuru IWASAKI2001-11-061-0/+9
| | | | | | | | | | | | | | | | | - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially. Notes: svn path=/head/; revision=86133
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+1
| | | | Notes: svn path=/head/; revision=81588
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Remove vestiges of MFS.Ruslan Ermilov2001-06-011-1/+0
| | | | Notes: svn path=/head/; revision=77575
* Go back to 1.20 again.Daniel C. Sobral2001-05-291-0/+3
| | | | Notes: svn path=/head/; revision=77444
* Revert 1.20, as it causes mysterious problems to the Alpha people.Daniel C. Sobral2001-05-291-3/+0
| | | | Notes: svn path=/head/; revision=77376
* - sys/msdosfs moved to sys/fs/msdosfsRuslan Ermilov2001-05-251-1/+1
| | | | | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs Notes: svn path=/head/; revision=77162
* The following modules were renamed:Ruslan Ermilov2001-05-231-4/+4
| | | | | | | | | | fdesc -> fdescfs portal -> portalfs umap -> umapfs union -> unionfs Notes: svn path=/head/; revision=77034
* Fix a grammar nit.Dima Dorfman2001-05-221-1/+1
| | | | | | | | PR: 27520 Submitted by: Michael Lucas <mwlucas@blackhelicopters.org> Notes: svn path=/head/; revision=76948
* Allocate more memory if necessary.Daniel C. Sobral2001-05-171-0/+3
| | | | Notes: svn path=/head/; revision=76714
* mdoc(7) police: fixed whatis(1) entry.Ruslan Ermilov2001-04-181-3/+0
| | | | Notes: svn path=/head/; revision=75659
* Use better descriptions (ones invovling words from the English languageJohn Baldwin2001-03-141-2/+2
| | | | | | | anyways) for the accept filter modules. Notes: svn path=/head/; revision=74263
* Improve comments about the sound drivers.Daniel C. Sobral2001-03-141-4/+4
| | | | | | | Correct accf lines. Notes: svn path=/head/; revision=74255
* - Sync up with stable by adding in the Netgraph and Sound module sections,John Baldwin2001-03-131-1/+56
| | | | | | | | the agp module, and the accept filter modules. - Remove an extraneous blank line. Notes: svn path=/head/; revision=74212
* Goodbye vn, welcome md.Daniel C. Sobral2001-03-071-1/+1
| | | | Notes: svn path=/head/; revision=73953
* Add atspeaker_load.Dag-Erling Smørgrav2001-02-011-0/+1
| | | | Notes: svn path=/head/; revision=71897
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-162-2/+2
| | | | Notes: svn path=/head/; revision=71102
* Add commented out examples for the new KTR loader tunables.John Baldwin2001-01-061-0/+3
| | | | Notes: svn path=/head/; revision=70706
* Retire kernfs (kernel part).Dag-Erling Smørgrav2000-12-281-1/+0
| | | | Notes: svn path=/head/; revision=70426
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-1/+0
| | | | Notes: svn path=/head/; revision=70405
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-202-6/+6
| | | | Notes: svn path=/head/; revision=68961
* remove period from SEE ALSO.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68755
* Add entry for umodemNick Hibma2000-10-301-0/+1
| | | | Notes: svn path=/head/; revision=67955
* The USB scanner driver. To be used together with SANE.Nick Hibma2000-10-251-0/+1
| | | | Notes: svn path=/head/; revision=67562
* Now I see the error of my ways.Daniel C. Sobral2000-10-091-6/+8
| | | | | | | | | | | | | | | | | | Previous revision of this file changed the "boot" commands to take no arguments from the stack. This is only valid in the case where a kernel has not been loaded. In that case, load_kernel_and_modules will be called, which takes a list of arguments from the stack. When a kernel is presently loaded, though, the list of arguments must be passed to the boot command, which was the behaviour before the last revision. Fix things for both cases. Noticed by: S-Max and others on that chat room Notes: svn path=/head/; revision=66871
* Get rid of garbage left on the stack.Daniel C. Sobral2000-09-251-2/+1
| | | | Notes: svn path=/head/; revision=66349
* What could possibly have possessed me to forget the "0 (arguments)"Daniel C. Sobral2000-09-251-2/+2
| | | | | | | | | | | in two of the three boot words in the "boot" redefinition, I have no clue. Fix it. Noticed by: bp Noticed by: adrian Notes: svn path=/head/; revision=66346
* Check for the correct minimum version required by the current code.Daniel C. Sobral2000-09-181-4/+4
| | | | | | | I hope I got this right... :-) Notes: svn path=/head/; revision=66046
* Use _ instead or - where proper, according to the style I have beenDaniel C. Sobral2000-09-162-17/+35
| | | | | | | | | using. Overload "?" so it will also show loader.4th commands. Notes: svn path=/head/; revision=65949
* Solve a name clash.Daniel C. Sobral2000-09-162-6/+12
| | | | | | | Add something to help debugging. Notes: svn path=/head/; revision=65945
* The module_path set by default was bogus. It had /boot/kernel last,Daniel C. Sobral2000-09-161-3/+3
| | | | | | | which makes little sense. Notes: svn path=/head/; revision=65939
* Both boot and boot-conf were using a different algorithm from the oneDaniel C. Sobral2000-09-162-32/+38
| | | | | | | | | | | | | | | | used by start to find the kernel. Fix this. Also, boot would proceed immediately in the absence of a path as argument. Check first if a kernel has already been loaded, and, if not, fall back to load kernel&modules behavior. Some further factorizing. I deem this code to be mostly readable by now! :-) Many thanks to: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> Notes: svn path=/head/; revision=65938
* Factorize, reorganize, and move code around.Daniel C. Sobral2000-09-152-116/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | The boot-conf and boot code had various bugs, and some of it was big, ugly, unwieldy, and, sometimes, plain incorrect. I'm just about completely replaced these ugly parts with something much more manageable. Minor changes were made to the well-factorized parts of it, to accomodate the new code. Of note: * make sure boot-conf has the exact same behavior wrt boot order as start. * Correct both boot and boot-conf so they'll work correctly when compiled in, as they both had some bugs, minor and major. * Remove all the crud from loader.4th back into support.4th, for the first time since boot-conf was first improved. Hurray! I'm fairly satisfied with the code at this time. Time to see about those man pages... Notes: svn path=/head/; revision=65883
* New world order wrt to kernel location and name. This doesn't actuallyDaniel C. Sobral2000-09-121-2/+2
| | | | | | | | changes anything (in theory), just better document it. I'm waiting for the final word before I tackle the man pages. Notes: svn path=/head/; revision=65785
* Back out bktr_mem_load. It is not needed because I'm use MODULE_DEPENDRoger Hardiman2000-09-121-1/+0
| | | | | | | | elsewhere. Reminded by: Mike Smith Notes: svn path=/head/; revision=65769
* Add bktr_mem_loader, default to NO.Roger Hardiman2000-09-111-0/+1
| | | | | | | In the near future the bktr module will need the bktr_mem module too. Notes: svn path=/head/; revision=65738
* The entropy driver module has changed name.Mark Murray2000-09-101-1/+1
| | | | Notes: svn path=/head/; revision=65689
* Upon reflection, I decided that bootfile must have priority over kernelDaniel C. Sobral2000-09-091-8/+8
| | | | | | | | | as the kernel name. The one very unfortunate consequence is that kernel as an absolute path loses the priority. It will only be tried after /boot/${kernel}/${bootfile}. I'll see what can be done about it later. Notes: svn path=/head/; revision=65641
* First tackle at trying to handle the New Deal on kernels.Daniel C. Sobral2000-09-093-118/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Load the first of the following kernels to be found: ${kernel} if ${kernel} is an absolute path /boot/${kernel}/${kernel} /boot/${kernel}/${bootfile} ${kernel}/${kernel} ${kernel}/${bootfile} ${kernel} ${bootfile} The last instance of ${kernel} and ${bootfile} will be treated as a list of semicolon separated file names, and each will be tried in turn, from left to right. Also, for each filename loader(8) will try filename, filename.ko, filename.gz, filename.ko.gz, in that order, but that's not related to this code. This resulted in a major reorganization of the code, and much of what was accumulating on loader.4th was rightly transfered to support.4th. The semantics of boot-conf and boot also changed. Both will try to load a kernel the same as above. After a kernel was loaded, the variable module_path may get changed. Such change will happen if the kernel was found with a directory prefix. In that case, the module path will be set to ${directory};${module_path}. Next, the modules are loaded as usual. This is intended so kernel="xyzzy" in /boot/loader.conf will load /boot/xyzzy/kernel.ko, load system modules from /boot/xyzzy/, and load third party modules from /boot/modules or /modules. If that doesn't work, it's a bug. Also, fix a breakage of "boot" which was recently introduced. Boot without any arguments would fail. No longer. Also, boot will only unload/reload if the first argument is a path. If no argument exists or the first argument is a flag, boot will use whatever is already loaded. I hope this is POLA. That behavior is markedly different from that of boot-conf, which will always unload/reload. The semantics introduced here are experimental. Even if the code works, we might decide this is not the prefered behavior. If you feel so, send your feedback. (Yeah, this belongs in a HEADS UP or something, but I've been working for the past 16 hours on this stuff, so gimme a break.) Notes: svn path=/head/; revision=65630
* Update boot and boot-conf descriptions to reflect new and old changes.Daniel C. Sobral2000-09-081-3/+26
| | | | | | | Add a warning in loader(8) that boot might be changed by loader.4th. Notes: svn path=/head/; revision=65622
* Enhance boot-conf.Daniel C. Sobral2000-09-081-24/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now boot-conf can also receive parameters to be passed to the kernel being booted. The syntax is the same as in the boot command, so one boots /kernel.OLD in single-user mode by typing: boot-conf /kernel.OLD -s instead of boot-conf -s /kernel.OLD The syntax still supports use of directory instead of file name, so boot-conf kernel.OLD -s may be used to boot /boot/kernel.OLD/kernel.ko in single-user mode. Notice that if one passes a flag to boot-conf, it will override the flags set in .conf files, but only for that invocation. If the user aborts the countdown and tries again without passing any flags, the flags set in .conf files will be used. Some factorization was done in the process of enhancing boot-conf, as it has been growing steadly as features are getting added, becoming too big for a Forth word. It still could do with more factorization, as a matter of fact. Override the builtin "boot" with something based on boot-conf. It will behave exactly like boot-conf, but booting directly instead of going through autoboot. Since we are now pairing kernel and module set in the same directory, this change to boot makes sense. Notes: svn path=/head/; revision=65621
* Strictly speaking, this works. It enumarates the PnP devices, andDaniel C. Sobral2000-09-081-0/+172
| | | | | | | | | | | | | | | | | load the modules needed according to a file relating module names (actually, _file_ names, not really modules -- the dependency stuff is not exported to loader's UI) to PnP IDs. But it still lacks a number of desired features, and it's too crude for my tastes. But since I don't have time to work on it, it might be preferable to make it available to those who might. It's not installed by default, much less loaded. In fact, it wouldn't even had a copyright message (who? me? assume responsibility for _this_?), if the cvs commit hadn't aborted for lack of $FreeBSD$, and I decided to just cut&paste the stuff from elsewhere. Notes: svn path=/head/; revision=65618
* Fix an error message which was using the wrong variable to get theDaniel C. Sobral2000-09-081-1/+1
| | | | | | | kernel name from. Notes: svn path=/head/; revision=65616
* Add constructors to crude structure support. Rework some of theDaniel C. Sobral2000-09-081-19/+142
| | | | | | | | | | | | | | | | | | | code into a more modular interface, with hidden vocabularies and such. Remove the need to a lot of ugly initialization. Also, add a few structure definitions, from stuff used on the C part of loader. Some of this will disappear, and the crude structure support will most likely be replaced by full-blown OOP support already present on FICL, but not installed by default. But it was getting increasingly inconvenient to keep this separate on my tree, and I already lost lots of work once because of the hurdles, so commit this. Anyway, it makes support.4th more structured, and I'm not proceeding with the work on it any time soon, unfortunately. Notes: svn path=/head/; revision=65615
* The kernel is now known as `kernel.ko' and it and its matching modulesDavid E. O'Brien2000-09-051-2/+2
| | | | | | | live in ``/boot/kernel/''. Notes: svn path=/head/; revision=65501
* Rename the loadable nullfs kernel module: null -> nullfsSheldon Hearn2000-07-281-1/+1
| | | | Notes: svn path=/head/; revision=63962
* Add randomdev_load="NO"Andrey A. Chernov2000-06-291-0/+1
| | | | Notes: svn path=/head/; revision=62233
* Add wx and ispfw loadable module defaults.Matt Jacob2000-06-171-0/+2
| | | | Notes: svn path=/head/; revision=61757