benno
1100470ac5
Whitespace fixes.
2001-10-07 13:27:27 +00:00
benno
0c1686270f
Add new files needed by previous commit.
2001-10-07 13:24:56 +00:00
benno
994f7977f1
Mega-patch for OpenFirmware loader support.
...
- Flesh out ofw_readin routine.
- Add OpenFirmware load and exec routines.
- Make sure memory allocation for the kernel is done correctly.
- Change the way the heap is allocated so as to make it easier to deallocate
when we hand over.
- Add a command to print memory maps similar to the one for ia64.
With this patch, I can now load and hand over to a kernel on my iMac. There
are some problems with OpenFirmware routines failing after the hand over that
still need to be addressed.
2001-10-07 13:22:25 +00:00
jhb
7d9178b7e1
Whitespace fixes.
2001-10-04 10:18:00 +00:00
yokota
e40169e551
Fix the ANSI color escape sequence \E[m.
...
- Corretly map the ansi color number to a PC BIOS color.
- Handle multiple arguments to the escape sequence.
2001-10-02 13:11:35 +00:00
yokota
b377b77110
Fix the local macro: isvisible().
...
- The space char (0x20) IS a visible char :-)
2001-10-02 09:13:07 +00:00
silby
bee3ac5b1e
grammar fix: to -> too
2001-10-01 23:41:13 +00:00
yokota
d6dabd898e
Fix the function CD(): "Clear to the end of the screen".
...
- When the video BIOS is called to clear the region (x, y)-(79, 24)
(by scrolling), the slashed region in Fig.1 is cleared. CD() is
supposed to clear the region shown in Fig.2.
x x
+-------+ +-------+
| | | |
y| ////| y| ////|
| ////| |///////|
| ////| |///////|
+-------+ +-------+
Fig.1 Fig.2
- Don't move the cursor during this operation.
2001-10-01 11:48:02 +00:00
yokota
a82b496607
This is white-space only change. No functional difference.
...
- Be consistent about placing spaces around keywords and
operators; don't mix statements like "if(A==B)" and "if (X == Y)",
"return(0)" and "return (-1)", "P=10" and "Q = 0", etc.
- Consitently indent lines. It's not good to indent by 8 columns
in one part of the file, and by 4 columns in the other part.
2001-10-01 11:42:25 +00:00
peter
5147ce6799
Make this 'make obj' safe
2001-09-26 00:13:08 +00:00
dfr
3282be0059
Calculate the valid flag for ITRs and DTRs correctly. Also fix a couple
...
of minor problems and remove some debugging code.
2001-09-25 19:44:19 +00:00
dfr
13d5944594
Add commands to dump the itrs and dtrs.
2001-09-24 19:39:34 +00:00
dfr
876717e81e
Return the mapkey which EFI gave us when we read the memory map - we need
...
it to call ExitBootServices.
2001-09-24 19:37:44 +00:00
dfr
e19e9a8972
Tidy up a little - don't try to print anything or enable interrupts after
...
we start changing translation registers. Also, call ExitBootServices
before we jump into the kernel.
2001-09-24 19:36:45 +00:00
dfr
73f1755f49
Pick up pal.s from the kernel sources.
2001-09-24 19:31:44 +00:00
dfr
29ad18d594
Add commands to dump the configuration tables and the SAL System Table.
2001-09-23 10:28:01 +00:00
dfr
c87ffaaf40
Add EFI network support.
2001-09-22 19:12:30 +00:00
dfr
bf77b20f03
* Flesh out elf_exec and bootinfo.
...
* Add EFI network support.
2001-09-22 19:10:56 +00:00
dfr
c167877c16
Add getsecs() for the libstand network code.
2001-09-22 18:33:09 +00:00
dfr
fb20752c1a
Add a twiddle meter when reading from files. Gives me something to look
...
at when a kernel is loading from a floppy.
2001-09-22 18:31:02 +00:00
dfr
8b6fdd5792
Add definition of SSC_GET_RTC.
2001-09-20 08:22:56 +00:00
dfr
42cbd97a48
Implement time().
2001-09-19 12:12:12 +00:00
sobomax
5597a20c93
Add support for loading bzip2-compressed kernels and modules. This support
...
is turned off by default and could be enabled by defining LOADER_BZIP2_SUPPORT
make variable. Also make gzip support optional (turned on by default) -
it could be turned off via LOADER_NO_GZIP_SUPPORT make variable.
Please note, that due to limit on the amount of memory available to the
loader(8), it is possible to load modules/kernels compressed with the smallest
block size supported by the bzip2 - 100k (`-1' bzip2(1) option), however
even in this mode bzip2(1) usually provides better compression ratio than
gzip(1) in its best compression mode.
MFC after: 1 month
2001-09-18 14:52:36 +00:00
nyan
352dfc76e4
MFi386: sys/boot/i386/loader/main.c revision 1.24.
2001-09-16 05:22:51 +00:00
nyan
4e578f4f40
MFi386: sys/boot/i386/libi386/Makefile revision 1.20.
2001-09-16 05:22:27 +00:00
dfr
573409ef19
Add a fake memory descriptor for the I/O port space.
2001-09-15 18:29:42 +00:00
dfr
60a2e27040
Fill in the bootinfo's memory map.
2001-09-15 09:53:56 +00:00
dfr
44cdde0e70
Remove dead code.
2001-09-15 08:25:16 +00:00
dfr
2168ec3a50
Plug in ELF backend.
2001-09-14 08:28:17 +00:00
dfr
fba6b92ecd
Add ELF backend to the build.
2001-09-14 08:27:49 +00:00
dfr
83cd82c3c4
Make this do the right thing (mostly). We should still reserve the pages
...
that the kernel loads into using the EFI AllocatePages call.
2001-09-14 08:26:00 +00:00
dfr
78bcb999c4
Update code which creates bootinfo.
2001-09-13 12:49:02 +00:00
dfr
e457c6698c
A command file for SKI which runs the loader up to the first instruction
...
of the loaded kernel.
2001-09-12 15:08:49 +00:00
ru
62afc35080
Create backup copies using install(1).
2001-09-12 10:25:50 +00:00
dfr
83e00d4274
Build ficl on all architectures.
2001-09-12 08:35:05 +00:00
dfr
49cae21f8a
Add a version of the loader which runs under SKI, the HP ia64 simulator.
...
This loader is quite functional and can load and run kernels. The kernels
don't quite work right after loading but that should be easily fixable.
2001-09-12 08:34:27 +00:00
peter
808991de7c
Implement the long-awaited module->file cache database. A userland
...
tool (kldxref(8)) keeps a cache of what modules and versions are inside
what .ko files. I have tested this on both Alpha and i386.
Submitted by: bp
2001-09-11 01:09:24 +00:00
dfr
6ac93bff0d
Add missing entry to memory type name table and adjust field widths.
2001-09-08 12:32:12 +00:00
dfr
72380c0707
Add a command 'memmap' to print out the EFI memory map.
2001-09-08 12:21:37 +00:00
dfr
99af25f895
Hook up the native EFI filesystem reader.
2001-09-07 08:52:53 +00:00
dfr
b750cc500a
Set currdev and loaddev variables.
2001-09-07 08:52:26 +00:00
dfr
622326c63f
Add a libstand filesystem for accessing EFI native filesystems.
2001-09-07 08:51:48 +00:00
dfr
6f1a1519fd
Reformat.
2001-09-07 08:49:47 +00:00
dfr
b0318c4f62
Merge linker set relocations with the rest.
2001-09-05 13:36:41 +00:00
dfr
feff1475b3
Enable bootforth.
2001-09-04 14:48:59 +00:00
dfr
838d91e725
Avoid an alignment fault on 64bit architectures.
...
Reviewed by: dcs
2001-09-04 13:13:12 +00:00
dfr
31b78d3bf3
Make sure we copy over the linker set sections to the EFI executable.
2001-09-04 08:59:38 +00:00
dfr
07738f1f32
Add definition for arch-ia64.
2001-09-04 08:51:15 +00:00
dfr
64c5352bc7
Add ia64 system dependancies.
2001-09-04 08:50:23 +00:00
bde
da7bfcdf0c
Don't clobber the default for CFLAGS.
...
Reviewed by: dfr
2001-08-31 11:01:20 +00:00