Marcel Moolenaar
6b207c0e90
Remove redundant and misplaced "options DDB" line.
2001-10-02 06:18:23 +00:00
Doug Rabson
89dbc365be
Support for SKI is now an option.
2001-09-29 11:45:33 +00:00
Doug Rabson
47d032e595
Make sio0 a console device.
2001-09-29 11:45:07 +00:00
Doug Rabson
f17bd83f5f
Add a couple of arguments to ia64_init. I'll use them later to improve
...
the method of passing bootinfo from the loader.
2001-09-29 11:44:35 +00:00
Doug Rabson
cf1a145b08
Various changes to use the firmware on a real machine.
2001-09-29 11:43:37 +00:00
Doug Rabson
940bcd77bd
* Read parameters for ptc.e instruction from PAL Code.
...
* Add pmap_unmapdev().
2001-09-29 11:41:23 +00:00
Doug Rabson
3ebae4bf00
Fake PAL Code for SKI.
2001-09-29 11:40:32 +00:00
Doug Rabson
625768e4a0
Start hooking up devices.
2001-09-29 11:11:18 +00:00
Doug Rabson
9a6f25fd59
Add pmap_unmapdev().
2001-09-29 11:02:06 +00:00
Doug Rabson
ddead4655a
Fill out the firmware interfaces somewhat.
2001-09-29 11:01:24 +00:00
Doug Rabson
63e057656e
Add code to initialise firmware resources (and to fake them if we are
...
running in simulation).
2001-09-29 11:00:24 +00:00
Doug Rabson
965c805d64
Add shims for calling PAL Code in physical mode.
2001-09-29 10:59:07 +00:00
Doug Rabson
a3c9f0dc11
Add some move definitions.
2001-09-29 10:24:09 +00:00
Doug Rabson
ee82e0d5f8
Call cpu_boot from cpu_reset.
2001-09-29 10:23:21 +00:00
Doug Rabson
f184b2654b
Give up on the backtrace if the calculated pc isn't in region 7.
2001-09-29 10:22:57 +00:00
Doug Rabson
3cf08d5025
Use PAGE_SHIFT instead of a hardcoded constant for log2(PAGE_SIZE).
2001-09-29 09:55:30 +00:00
Doug Rabson
27272270e8
* Preserve ar.rsc in ia64_change_mode.
...
* Convert sp to/from physical in ia64_change_mode.
* Add a shim for calling EFI procedures in virtual mode.
2001-09-29 09:54:42 +00:00
Doug Rabson
0e671be22e
Change END(locorestart) to END(__start).
2001-09-29 09:53:38 +00:00
Robert Watson
b9c6f21493
o Modify the access control checks for the ia64 /dev/mem (and friends)
...
to use securelevel_gt() instead of direct variable checks.
Obtained from: TrustedBSD Project
2001-09-26 20:24:23 +00:00
Doug Rabson
fa129a40db
Tidy up and fix a runtime warning.
2001-09-26 16:15:20 +00:00
Brooks Davis
2f65332817
The faith(4) device is no longer a count device so don't specify a count.
2001-09-25 18:56:40 +00:00
Doug Rabson
3dc2c2d530
Use b6 instead of b1 - b1 is supposed to be preserved and b6 is scratch.
2001-09-24 22:50:20 +00:00
Doug Rabson
f8c1540f3d
Make the Alternate {I,D} TLB vector code actually work for virtual
...
addresses greater than 256M (the page size for region 6 and 7).
2001-09-24 22:49:20 +00:00
Doug Rabson
588154e27b
Don't try to access external files from SKI unless we are actually running
...
in SKI.
2001-09-24 20:01:29 +00:00
Doug Rabson
40aef04652
Increase the number of bootstrap PVs.
2001-09-24 20:00:20 +00:00
Doug Rabson
9324a7e743
Include <machine/pte.h> instead of <machine/pmap.h>
2001-09-24 19:58:15 +00:00
Doug Rabson
32956c3d49
We need different call stubs for static and stacked calling conventions.
2001-09-24 19:41:16 +00:00
Doug Rabson
378482865e
Factor out PTE and related definitions from pmap.h - they are useful in
...
the loader.
2001-09-24 19:27:38 +00:00
Doug Rabson
cdb0e1b453
Fix a few comment typos from the last commit.
2001-09-24 17:38:58 +00:00
Doug Rabson
a7f1f8b902
Add some code which can be used to change to/from physical mode when
...
calling various firmware functions.
2001-09-24 17:07:23 +00:00
David E. O'Brien
090905a55c
+ Fix misplacement of `txp'
...
+ Document our -CURRENT debugging bits
2001-09-24 03:23:48 +00:00
Doug Rabson
3995e0ebca
Add definitions of SAL System Table.
2001-09-23 10:26:20 +00:00
Doug Rabson
568c95f6ca
Don't activate the ssc console unless we are running in SKI.
2001-09-22 19:52:02 +00:00
Doug Rabson
23a7118905
Add implementations of readx() and writex().
2001-09-22 19:51:18 +00:00
Doug Rabson
137fd2af89
Add declaration of ia64_running_in_simulator().
2001-09-22 19:50:54 +00:00
Doug Rabson
b73ef645ae
* Turn off memory descriptor debugging - its served its purpose.
...
* Don't get confused when memory regions don't lie on page boundaries -
remember our page size is typically larger than the firmware's page size.
* Add a function ia64_running_in_simulator() which is intended to detect
whether the kernel is running in SKI or on real hardware.
2001-09-22 19:50:12 +00:00
Doug Rabson
0d1943c9e3
Remove a redundant stop.
2001-09-22 19:46:41 +00:00
Doug Rabson
2290da8ce5
Fix a warning and make sure we flush the cache after writing an
...
instruction bundle otherwise the CPU won't see the changed bundle.
2001-09-21 10:10:15 +00:00
Doug Rabson
85d6f9f7d3
Add ia64_fc().
2001-09-21 10:09:27 +00:00
Doug Rabson
4ef1beb1ea
If two @fptr relocations refer to the same symbol, use the same fptr
...
structure to resolve them. This is necessary to allow code to compare
function pointers.
2001-09-20 16:32:54 +00:00
Doug Rabson
0fda7b2b10
Don't clear the single-step bit after a trap - leave it up to the
...
debugger. The code was broken anyway - it clear every bit *except* the
single-step bit (oops).
2001-09-20 16:30:48 +00:00
Doug Rabson
1e59a2270d
The second instruction in an MLX bundle is slot one, not slot two, even
...
though the actual opcode is stored in the value in slot two.
2001-09-20 16:29:30 +00:00
Doug Rabson
fea451577e
Tidy.
2001-09-20 15:03:28 +00:00
Doug Rabson
3890444abd
Don't include NFS headers. I have no idea why they were here in the first
...
place - NFS has no assembler in it.
2001-09-20 11:02:18 +00:00
Peter Wemm
55f25b39e9
Replicate a change from alpha/genassym.c to other arches. This should
...
fix nfs-related build breakage.
2001-09-20 02:49:59 +00:00
Peter Wemm
eb25edbda3
Cleanup and split of nfs client and server code.
...
This builds on the top of several repo-copies.
2001-09-18 23:32:09 +00:00
John Baldwin
fdca1cb1ef
Whitespace fixes.
2001-09-18 21:52:15 +00:00
John Baldwin
fd54558a83
- If we ever do the per-cpu KTR stuff, the index won't be volatile as it
...
will be private to each CPU.
- Re-style(9) the globaldata structures. There really needs to be a MI
struct pcpu that has a MD struct mdpcpu member at some point.
2001-09-18 21:46:26 +00:00
Doug Rabson
a5e2a508c7
Add ia64_get_cpuid().
2001-09-18 15:21:18 +00:00
Doug Rabson
f0e4f240e7
Flesh out identifycpu().
2001-09-18 13:26:30 +00:00