Commit Graph

306 Commits

Author SHA1 Message Date
dfr
7ed4fe7528 Fake the EFI runtime call GetTime. 2001-10-04 15:24:52 +00:00
dfr
b5a44e4761 Add low-level ACPI support code and make a start on parsing the ACPI
interrupt information.
2001-10-04 08:45:19 +00:00
dfr
17f2c62587 The encoding for the bus being passed to SAL was completely wrong. 2001-10-03 08:25:58 +00:00
mjacob
37494cc800 Fix problem where a user buffer outside of the area being tested
will be corrupted.

PR:		29194
Obtained from:	Tor.Egge@fast.no
MFC after:	2 weeks
2001-10-02 18:34:20 +00:00
marcel
0109c69c21 Remove redundant and misplaced "options DDB" line. 2001-10-02 06:18:23 +00:00
dfr
9a54c41456 Support for SKI is now an option. 2001-09-29 11:45:33 +00:00
dfr
f531655b8e Make sio0 a console device. 2001-09-29 11:45:07 +00:00
dfr
532d5998d4 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
dfr
81fce8d1d7 Various changes to use the firmware on a real machine. 2001-09-29 11:43:37 +00:00
dfr
b7fde43180 * Read parameters for ptc.e instruction from PAL Code.
* Add pmap_unmapdev().
2001-09-29 11:41:23 +00:00
dfr
6eb86189c7 Fake PAL Code for SKI. 2001-09-29 11:40:32 +00:00
dfr
85a8a3eb9c Start hooking up devices. 2001-09-29 11:11:18 +00:00
dfr
1e9172f76e Add pmap_unmapdev(). 2001-09-29 11:02:06 +00:00
dfr
76491e7ff0 Fill out the firmware interfaces somewhat. 2001-09-29 11:01:24 +00:00
dfr
06473c99eb Add code to initialise firmware resources (and to fake them if we are
running in simulation).
2001-09-29 11:00:24 +00:00
dfr
fd726cdf99 Add shims for calling PAL Code in physical mode. 2001-09-29 10:59:07 +00:00
dfr
966ebb7761 Add some move definitions. 2001-09-29 10:24:09 +00:00
dfr
03d92e3339 Call cpu_boot from cpu_reset. 2001-09-29 10:23:21 +00:00
dfr
edb763f2c8 Give up on the backtrace if the calculated pc isn't in region 7. 2001-09-29 10:22:57 +00:00
dfr
b0cf8971ff Use PAGE_SHIFT instead of a hardcoded constant for log2(PAGE_SIZE). 2001-09-29 09:55:30 +00:00
dfr
d0640e1a8e * 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
dfr
42d058c159 Change END(locorestart) to END(__start). 2001-09-29 09:53:38 +00:00
rwatson
1a997efe57 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
dfr
31fb58e79e Tidy up and fix a runtime warning. 2001-09-26 16:15:20 +00:00
brooks
34d1edd712 The faith(4) device is no longer a count device so don't specify a count. 2001-09-25 18:56:40 +00:00
dfr
a7a6c0736a Use b6 instead of b1 - b1 is supposed to be preserved and b6 is scratch. 2001-09-24 22:50:20 +00:00
dfr
bf258187c9 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
dfr
2085d4eb3c Don't try to access external files from SKI unless we are actually running
in SKI.
2001-09-24 20:01:29 +00:00
dfr
a9a90c0600 Increase the number of bootstrap PVs. 2001-09-24 20:00:20 +00:00
dfr
21b38366fd Include <machine/pte.h> instead of <machine/pmap.h> 2001-09-24 19:58:15 +00:00
dfr
9bbe2e1552 We need different call stubs for static and stacked calling conventions. 2001-09-24 19:41:16 +00:00
dfr
d04bb727c3 Factor out PTE and related definitions from pmap.h - they are useful in
the loader.
2001-09-24 19:27:38 +00:00
dfr
fc598410d3 Fix a few comment typos from the last commit. 2001-09-24 17:38:58 +00:00
dfr
f08f7cc358 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
obrien
94003d0787 + Fix misplacement of `txp'
+ Document our -CURRENT debugging bits
2001-09-24 03:23:48 +00:00
dfr
a6f6159dea Add definitions of SAL System Table. 2001-09-23 10:26:20 +00:00
dfr
46dc7c8aa3 Don't activate the ssc console unless we are running in SKI. 2001-09-22 19:52:02 +00:00
dfr
510b2f8636 Add implementations of readx() and writex(). 2001-09-22 19:51:18 +00:00
dfr
081194dc6f Add declaration of ia64_running_in_simulator(). 2001-09-22 19:50:54 +00:00
dfr
4c2efef4f7 * 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
dfr
934b85d282 Remove a redundant stop. 2001-09-22 19:46:41 +00:00
dfr
ced685c13a 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
dfr
0b358c6489 Add ia64_fc(). 2001-09-21 10:09:27 +00:00
dfr
24ca38f02b 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
dfr
02a6cf7d82 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
dfr
c01c5c49d5 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
dfr
8c1dda681a Tidy. 2001-09-20 15:03:28 +00:00
dfr
f93278905f 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
19afa3df70 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
85182a8d78 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