Commit Graph

1098 Commits

Author SHA1 Message Date
eeh
5df2260776 Add the shorter version of block ASIs used by Sun. 2001-06-29 23:56:05 +00:00
eeh
55e676fb15 Remove another unused file. 2001-06-25 23:07:03 +00:00
eeh
47b3df529a Remove unused file. 2001-06-25 21:28:03 +00:00
eeh
6bda7d4cc7 Add an install kernel w/room for a miniroot. 2001-06-21 23:00:19 +00:00
eeh
b61ff8de5f Prevent a hang if trying to pmap_protect a page with wired mappings. 2001-06-21 01:17:18 +00:00
eeh
8009aa2033 Allow multiple 4MB pages for both kernel text and kernel data.
Note: DEBUG checks will not allow accesses to the hole between
text and data segments, so you may need to update programs that
use libkvm before relocating the start of kernel data.
2001-06-21 00:24:22 +00:00
eeh
ede617e6dc Allow probes to kernel addresses that generate access errors not panic the machine. 2001-06-21 00:10:49 +00:00
eeh
bceb1fab42 Be a bit more consistent about returning errors. 2001-06-21 00:08:02 +00:00
wiz
f3f6c5b675 accessible' only has one a'. 2001-06-19 12:52:20 +00:00
kleink
abaced98c3 Fix context handling for 32-bit environments:
* Really pass PSR ICC bits instead of raw CCR.
* Don't touch ASI and FPRS, which are not part of the 32-bit mcontext.
Also, correct printf conversions in svr4_printmcontext.
2001-06-17 14:39:32 +00:00
kleink
db52b31344 Save/restore only the FP register file as far as the 32-bit environment
is concerned; in particular, don't overrun the [mu]context.
2001-06-17 13:10:05 +00:00
thorpej
8eb3b954f1 Don't need to prototype child_return() here, it's in <sys/proc.h>. 2001-06-14 22:56:55 +00:00
simonb
e5bd00e48d For ports that wire up pciide in compatibility mode, have
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.

Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
mrg
ba991d978b move ev_out32() here. 2001-06-07 17:54:35 +00:00
mrg
6246dceb77 print p_pid & p_comm for alignment errors. 2001-06-07 15:31:16 +00:00
mrg
9b27fa3ff8 set the coredump32 hook. make LKM friendly. 2001-06-06 21:39:50 +00:00
mrg
059d4936ab extract the netbsd32, sunos, 32 bit svr4 and 64 bit svr4 sigcode out into
separate files, so that compat lkms can link with them as well.
2001-06-06 21:19:48 +00:00
mrg
ea39a5c3b4 make a NETBSD32 stack check LKM friendly. 2001-06-06 21:06:52 +00:00
mrg
5d3a461f45 use _KERNEL_OPT 2001-06-05 14:43:04 +00:00
mrg
46762d3560 fix lint exposed by GCC 3.0 20010604 (prerelease). 2001-06-04 20:56:51 +00:00
chs
88905c8ca1 clear and restore pcb_onfault around calling uvm_fault(),
so that bugs in the fault-handling code will panic sooner.
2001-06-03 03:12:31 +00:00
chs
821ec03ed9 replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
lukem
d84d2c6c85 add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
mrg
67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
mrg
3783ca5d30 define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
chs
11a9651c8f replace vm_page_t with struct vm_page *. 2001-05-26 21:27:10 +00:00
chs
118ddca24a replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}. 2001-05-26 16:32:40 +00:00
mrg
9d582d76fc notice siop boot devices. 2001-05-18 23:32:48 +00:00
mrg
2f3c8dae5a correct some comments. <80 char debug statements. 2001-05-18 22:01:57 +00:00
mrg
f42ff7ccae minor cleanups. 2001-05-18 22:01:19 +00:00
mrg
38025bb818 kill dead code. 2001-05-18 21:53:26 +00:00
mrg
e8e471a863 cross compile friendly. 2001-05-18 21:50:45 +00:00
mrg
a9f7a4e194 move the sbus IOMMU work around into the sbus code, so that the psycho
doesn't have to lose a page.
2001-05-18 21:35:23 +00:00
mrg
0bbf8dcb9f update some unused code to reality. 2001-05-18 21:00:47 +00:00
mrg
0996d006da do not force ebus interrupts to have bit 0x20 set. 2001-05-18 19:17:50 +00:00
chs
8f77918d6c the call to uvm_km_valloc() in pmap_init() can end up triggering a call to
pmap_growkernel() on large memory machines.  at this point we've already
called uvm_page_init(), so we can no longer use uvm_page_physget().
but the flag we use to decide whether to use uvm_page_physget() vs.
uvm_pagealloc() is only set at the end of pmap_init(), so we use
uvm_page_physget() anyway.  switch to using uvm.page_init_done to decide
how to allocate pages, since that's the real indicator of when we have to
change methods.
2001-05-17 02:31:26 +00:00
kleink
9e162d4ea5 Delint my previous change. 2001-05-12 22:42:07 +00:00
kleink
58a818769b * Fix remaining 32-bit vs. native pointer problems in data structures;
reviewed by Eduardo.
* Define the size of uc_pad, so ucontext32_t will have the correct size.
2001-05-11 17:37:14 +00:00
kleink
1d8e184b6b svr4_32_mcontext.gwin is a pointer 32 bits wide. 2001-05-11 16:49:22 +00:00
petrov
591e596a12 john heasley patch <heas@shrubbery.net>, PR port-sparc/12885
added PROM name translations for hme and fas
2001-05-10 23:11:53 +00:00
kleink
e0b29e0491 Sync with native emul: rename sc_tstate to sc_psr. 2001-05-09 20:21:50 +00:00
kleink
f0d6ebbd33 Make restoring the PSR ICC bits really work in __sigreturn14(). 2001-05-09 20:13:38 +00:00
kleink
aec2bbb42f Sync sc_psr comments with reality. 2001-05-09 19:50:49 +00:00
kleink
7dbfdb5508 In the 32-bit ABI case:
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
  the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.

Per discussion with Eduardo.
2001-05-09 19:46:22 +00:00
kleink
cddc4b4264 While we're here, do SVR4_SPARC_ASI as well. 2001-05-08 20:57:17 +00:00
kleink
3d3703c7bd On v9, greg[0] isn't a TSTATE-in-PSR hack but just CCR. 2001-05-08 20:46:49 +00:00
kleink
bd0787e771 One step closer to making ICC/CCR manipulation work. 2001-05-08 19:30:05 +00:00
scw
2963ff5c58 Add l_poll' to struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
thorpej
cf67ac7122 Per discussion w/ chuck and chuck, restructure the md page stuff
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
thorpej
2b27ac7a99 Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
each vm_page structure.  Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM.  These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.

This deprecates struct pmap_physseg.  As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.

Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now).  Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00