| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
now. Gack.
|
| |
|
| |
|
|
|
|
| |
my own string literal handling is just too wonky.
|
| |
|
| |
|
| |
|
|
|
|
| |
Make the prompt an empty string instead.
|
|
|
|
| |
days?), get the input buffer ourselves. Add some debugging code.
|
|
|
|
| |
by default.
|
|
|
|
|
|
|
|
|
| |
o Add fexists word to check for the presence of a file
o make fexists and fload immediate words which DTRT both interpreted
and compiled (doh!)
o add an init word which gets run at bootstrapping time to do extra
post-coldload initialization (in the default implementation, we
look for /boot/boot.4th and load it if found).
|
|
|
|
| |
2. add fload and key prims for doing simple file and terminal I/O, respectively
|
|
|
|
|
| |
script is not executable.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
|
|
|
|
| |
The excessive use of assert() vs. robust error checking is annoying.
|
| |
|
|
|
|
|
| |
Support building a standalone interpreter with 'make testmain', remove
win32 and egregious gets() in testmain.c
|
| |
|
| |
|
|
|
|
|
| |
untested). Only suitable for i386 at the moment, as we are missing
setjmp/longjmp on the Alpha.
|
| |
|
|
|
|
|
|
|
| |
to the Forth interpreter. Instantiate all of our inbuilt commands
as Forth words, and handle them being called from there.
Add my copyright to the bcache module (oops).
|
|
|
|
| |
Submitted by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this will allow us to manage bloat in the loader by using a bytecoded HLL
rather than lots of C code. It also offers an opportunity for vendors
or others with special applications to significantly customise the boot
process without having to commit to a divergent code branch.
This early commit is to allow others to experiment with the most effective
mechanisms for integrating FICL with the loader as it currently stands.
Ficl is distributed with the following license conditions:
"Ficl is freeware. Use it in any way that you like, with the understanding
that the code is not supported."
All source files contain authorship attributions.
Obtained from: John Sadler (john_sadler@alum.mit.edu)
|
|
|
|
|
| |
LRU. Use a 31-bit counter instead. If we decide to do heavy I/O through
the bootloader this will have to be revisited.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and will bypass transfers for more than 8k. Blocks are invalidated after
2 seconds, so removable media should not confuse the cache.
The 8k threshold is a compromise; all UFS transfers performed by
libstand are 8k or less, so large file reads thrash the cache.
However many filesystem metadata operations are also performed using
8k blocks, so using a lower threshold gives poor performance.
Those of you with an eye for cache algorithms are welcome to tell me
how badly this one sucks; you can start with the 'bcachestats' command
which will print the contents of the cache and access statistics.
|
| |
|
|
|
|
| |
common than ','.
|
|
|
|
|
|
|
| |
most practical purposes, this should be indistinguishable from a
more strictly correct approach).
Feedback and testing: msmith
|
|
|
|
|
|
|
|
|
| |
* Embed the stack into the bss section for loader and netboot. This
is required for netboot since otherwise the stack would be inside our
heap.
* Install loader and netboot in /boot by default.
* Fix getbootfile so that it searches for a ',' instead of a ';'
when terminating the filename.
|
|
|
|
|
|
|
|
|
|
| |
filesystems.
- New 'help' command and data in the help.* files (not yet installed),
provides topic and subtopic help, indexes, etc.
- Don't crash if the user tries to set an invalid console. Be helpful
instead.
- Expand tabs (badly) on the i386 video console.
- Some minor cosmetic changes.
|
| |
|
|
|
|
| |
most of the "what the (*^&%(*^ was that?" stuff that normally flies by.
|
|
|
|
|
|
|
| |
negative for keypresses with zero ascii values. This is in line with the
comconsole test, rather than being more ambitious.
Submitted by: rnordier
|
| |
|
|
|
|
|
|
| |
Noticed by: abial
Optimize away a few bytes to make space for the above.
|
|
|
|
|
| |
bootloader.
Submitted by: dfr
|
| |
|
| |
|
| |
|
|
|
|
| |
lack of a simple "enumerate all PCI devices" function.
|
|
|
|
| |
by the system BIOS rather than supporting ISA PnP.
|
|
|
|
|
| |
Add the biospnp handler to the pnp handler array
Drop some old debugging code
|
| |
|
|
|
|
|
| |
this allows us to implement what look like C function calls from user
space "directly" to v86 mode code. (Used for calling the PnP BIOS)
|
|
|
|
| |
Make the EISA ID formatter generally available
|
| |
|
|
|
|
|
|
|
|
| |
- Use the ISA PnP enumerator.
- Use the new linker set code, throw out the gensetdefs stuff.
- Produce an intermediate loader image that has symbols stripped, to aid
- in debugging.
- Supply ISA port access functions required for ISA PnP
|
|
|
|
| |
<machine> includes rather than the system's.
|
|
|
|
|
|
|
|
|
|
|
|
| |
can fit into my test machine.
- Move to using STAILQs rather than ad-hoc singly-linked lists.
- Use a mostly procedural interface to the PnP information. This
improves data-hiding.
Implement a new linker-set technique (currently on i386 only but should work
on Alpha as well). This is a good candidate for replacing the current
gensetdefs cruft completely.
|
| |
|