peter
b866d91337
Lookup the EFI_FPSWA driver and pass the interface pointer through to the
...
kernel before we call ExitBootServices(). I've typed the definitions
in efifpswa.h from the Intel FPSWA manual (urk).
2001-11-19 07:09:47 +00:00
peter
40fe009adb
Remove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfo
...
should go away on ia64, we should be loader metadata based since that is
the only way we can boot (loader, skiload).
2001-11-19 07:05:10 +00:00
peter
58087902a2
This is used in C, not C++. functions with no args have func(void) in our
...
kernel.
2001-11-19 06:58:14 +00:00
mike
3df91ed4db
o Add new header <sys/stdint.h>.
...
o Make <stdint.h> a symbolic link to <sys/stdint.h>.
o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99.
o Remove <sys/inttypes.h>.
o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h
to reflect new location of integer types in <sys/stdint.h>.
o Remove previously symbolicly linked <inttypes.h>, instead create a
new file.
o Add MD headers <machine/_inttypes.h> from NetBSD.
o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and
include <machine/_inttypes.h> in <inttypes.h>, to fill in the
remaining requirements for <inttypes.h>.
o Add additional integer types in <machine/ansi.h> and
<machine/limits.h> which are included via <sys/stdint.h>.
Partially obtain from: NetBSD
Tested on: alpha, i386
Discussed on: freebsd-standards@bostonradio.org
Reviewed by: bde, fenner, obrien, wollman
2001-11-02 18:05:43 +00:00
marcel
ff26515539
Set RB_MULTIPLE (multiple console support) if the kernel is booted
...
with the -D flag.
2001-10-29 01:11:40 +00:00
dfr
ec791e2f38
Call ExitBootServices and disable interrupts before we start hacking
...
the VM registers. This ought to make things slightly more reliable here.
2001-10-25 08:53:39 +00:00
dfr
1455d39753
Add the two sections used for PLT entries to the text and sdata sections
...
respectively. This makes IPLTLSB relocations work properly (these are
generated for weak symbols, particularly for _longjmp).
2001-10-25 08:50:14 +00:00
dfr
eb865e7656
Try to get the self-relocator to work with IPLTLSB relocations. Doesn't
...
work right though - I can't figure out why.
2001-10-24 20:14:49 +00:00
dfr
18cd2d2cea
Fix typo in comment.
2001-10-11 13:47:20 +00:00
marcel
f54e34402f
s/alpha/${MACHINE_ARCH}/g
2001-10-08 01:41:45 +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
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
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
31b78d3bf3
Make sure we copy over the linker set sections to the EFI executable.
2001-09-04 08:59:38 +00:00
dfr
dd0572c88a
Make this build again after breakage from previous commits.
2001-07-10 16:18:20 +00:00
obrien
b08196841e
style(9) and remove a left over Alpha comment
2001-06-16 06:17:35 +00:00
obrien
5768de4849
style cleanup
2001-06-16 06:17:16 +00:00
obrien
0886fc2585
style police
2001-06-16 05:59:45 +00:00
obrien
5e7a5673ac
This Intel derived file uses C++ style comments.
...
(I'll be we know which compiler and platform they developed this on...)
Minimally change them to C89 comments to make GCC happy. (this is kinda funny
as the file has piece derived from FreeBDS 3.2)
Also fix FreeBSD id style.
2001-06-16 05:58:54 +00:00
obrien
7c30b7b214
Fix FreeBSD id style.
2001-06-16 05:56:13 +00:00
obrien
b68cbfacca
style(9)
2001-06-16 05:55:32 +00:00
obrien
31d03a0c2b
style(9) + fix FreeBSD id's.
2001-06-16 02:12:36 +00:00
peter
59c35987fe
Nuke old gensetdefs based linker sets with extreme prejudice
2001-06-14 01:23:57 +00:00
dfr
7920a5b451
Move the first section up one page. The firmware bogusly uses the first
...
page of the image to load section headers and if we let the text section
start at zero, it corrupts the section table when its loaded. With this
change, the loader gets as far as the 'ok' prompt.
2001-06-10 13:39:10 +00:00
dfr
6d5e0c4ed3
Remove a 'return' statement which I put in while I was trying to debug
...
the startup code.
2001-06-10 13:36:00 +00:00
dfr
5398454add
First approximation of an ia64 EFI loader. Not functional.
2001-06-09 16:49:51 +00:00