Marcel Moolenaar
997313be99
Set RB_MULTIPLE (multiple console support) if the kernel is booted
...
with the -D flag.
2001-10-29 01:11:40 +00:00
Doug Rabson
4abfff1e2e
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
Doug Rabson
7d5af294dc
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
Doug Rabson
88f5f7ac50
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
Marcel Moolenaar
8daca20f62
s/alpha/${MACHINE_ARCH}/g
2001-10-08 01:41:45 +00:00
Peter Wemm
4d7552180d
Make this 'make obj' safe
2001-09-26 00:13:08 +00:00
Doug Rabson
5f802bfc9f
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
Doug Rabson
9164a3125a
Add commands to dump the itrs and dtrs.
2001-09-24 19:39:34 +00:00
Doug Rabson
bc14d41c7e
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
Doug Rabson
6544e18249
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
Doug Rabson
0f34719cf5
Add commands to dump the configuration tables and the SAL System Table.
2001-09-23 10:28:01 +00:00
Doug Rabson
e565888bc5
Add EFI network support.
2001-09-22 19:12:30 +00:00
Doug Rabson
1271403685
* Flesh out elf_exec and bootinfo.
...
* Add EFI network support.
2001-09-22 19:10:56 +00:00
Doug Rabson
68176c8544
Add definition of SSC_GET_RTC.
2001-09-20 08:22:56 +00:00
Doug Rabson
447a0851af
Implement time().
2001-09-19 12:12:12 +00:00
Doug Rabson
c5620b0763
Add a fake memory descriptor for the I/O port space.
2001-09-15 18:29:42 +00:00
Doug Rabson
8b43a51e12
Fill in the bootinfo's memory map.
2001-09-15 09:53:56 +00:00
Doug Rabson
fb63a84609
Remove dead code.
2001-09-15 08:25:16 +00:00
Doug Rabson
28d7d2f0a0
Plug in ELF backend.
2001-09-14 08:28:17 +00:00
Doug Rabson
327b34100f
Add ELF backend to the build.
2001-09-14 08:27:49 +00:00
Doug Rabson
f19fa0b627
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
Doug Rabson
f0f40e4c2a
Update code which creates bootinfo.
2001-09-13 12:49:02 +00:00
Doug Rabson
908e8cb5be
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
Doug Rabson
3a19b480c8
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
Doug Rabson
9d2535d919
Add missing entry to memory type name table and adjust field widths.
2001-09-08 12:32:12 +00:00
Doug Rabson
3146b2d65c
Add a command 'memmap' to print out the EFI memory map.
2001-09-08 12:21:37 +00:00
Doug Rabson
96bf6ac71e
Hook up the native EFI filesystem reader.
2001-09-07 08:52:53 +00:00
Doug Rabson
fc2b065c41
Set currdev and loaddev variables.
2001-09-07 08:52:26 +00:00
Doug Rabson
b827e60e65
Reformat.
2001-09-07 08:49:47 +00:00
Doug Rabson
76897a893f
Merge linker set relocations with the rest.
2001-09-05 13:36:41 +00:00
Doug Rabson
8e8dc221a6
Enable bootforth.
2001-09-04 14:48:59 +00:00
Doug Rabson
772d958c9f
Make sure we copy over the linker set sections to the EFI executable.
2001-09-04 08:59:38 +00:00
Doug Rabson
ecab3d453e
Make this build again after breakage from previous commits.
2001-07-10 16:18:20 +00:00
David E. O'Brien
5ed2687ff2
style(9) and remove a left over Alpha comment
2001-06-16 06:17:35 +00:00
David E. O'Brien
3caacd361d
style cleanup
2001-06-16 06:17:16 +00:00
David E. O'Brien
cb38c47462
style(9) + fix FreeBSD id's.
2001-06-16 02:12:36 +00:00
Peter Wemm
44fa54f5f6
Nuke old gensetdefs based linker sets with extreme prejudice
2001-06-14 01:23:57 +00:00
Doug Rabson
faf8077790
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
Doug Rabson
35ca79092b
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
Doug Rabson
fd3e14e915
First approximation of an ia64 EFI loader. Not functional.
2001-06-09 16:49:51 +00:00
Marcel Moolenaar
d5b14b2a37
Add "empty" makefile. Cross-building fails without it.
2000-12-08 04:08:09 +00:00