Commit Graph

92989 Commits

Author SHA1 Message Date
martin
a290138790 Add more examples. 2002-02-23 08:11:22 +00:00
thorpej
d114b32f24 Add some nops after we enable the MMU, for good measure (enough for
the nops to be the prefetch'd insns when the MMU switch occurs).
2002-02-23 05:58:46 +00:00
thorpej
f31f6affa9 Make sure the MMU is enabled after we switch to the new kernel
page tables (gzboot disables the MMU before it does its work).
2002-02-23 05:55:26 +00:00
thorpej
0b91bc440f Move files[] from open.c to globals.c, so that it's possible to
use libsa in an application where there are no file systems or
devices.
2002-02-23 05:44:24 +00:00
thorpej
0fac1c42e9 gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
2002-02-23 05:41:14 +00:00
thorpej
1152fa21da Add some simple standalone device drivers for IOP310-based boards. 2002-02-23 05:12:01 +00:00
thorpej
2365d7ec78 Add a '-s' option which will cause mdsetimage to write back the
actual image size copied back into the kernel.
2002-02-23 02:30:37 +00:00
enami
c4f3ebe67c Make flag bit to character conversion table driven. 2002-02-23 01:06:41 +00:00
martin
8af2b425a2 Add a missing call to isapnp_config().
Do not hardcode IST_EDGE, use the type from the attach args.

Noticed by Christos Zoulas.
2002-02-22 21:26:47 +00:00
christos
510f6a45d4 A simple utmpx implementation. Nothing uses it yet.
TODO: write the lastlog*() stuff.
2002-02-22 20:11:44 +00:00
christos
4ac6388b63 A utmpx implementation. 2002-02-22 20:09:01 +00:00
uch
43eee13717 fix comment. 2002-02-22 19:56:27 +00:00
uch
b1b1f1117b NetBSD/sh3 common part of clock routine. 2002-02-22 19:55:33 +00:00
uch
f3b1882035 print MMU infomation. 2002-02-22 19:46:34 +00:00
uch
45407e955f setjmp,longjmp are moved to sh3/locore_subr.S 2002-02-22 19:45:31 +00:00
uch
f694c9fdd7 New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
 + SH3/SH4 common kernel support.
 + PCLOCK estimation.
 + remove duplicated code.
2002-02-22 19:43:58 +00:00
kleink
67678b7c54 Handle the 601's Run Mode/Trace Exception. 2002-02-22 18:50:45 +00:00
thorpej
9d157337f4 Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt. 2002-02-22 18:25:08 +00:00
kleink
3ca01a7f77 Do without stfiwx; per PEM32 Rev. 1 it's an optional part of the UISA,
and not implemented on the 601.
2002-02-22 18:21:22 +00:00
thorpej
ac5d6ab89f Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt. 2002-02-22 17:26:36 +00:00
christos
ba74a6ad5a PR/15703: Sean Boudreau: Case in route_output() where struct rtentry *rt
dereferenced after free.
2002-02-22 17:26:31 +00:00
thorpej
37595cfcf8 Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt.
This happened to work in the IOP310 because the kernel runs VA==PA.
2002-02-22 17:23:13 +00:00
christos
df34bbcc7a Regen 2002-02-22 17:13:46 +00:00
christos
5cdee96e49 PR/15701: Mike Wlodarczyk: ISAPNP data for another SupraExpress 56I SP V.90 2002-02-22 17:13:26 +00:00
skrll
25133dd770 Pass the VA for kernel_ptpt as the VA to pmap_map_entry 2002-02-22 17:11:59 +00:00
ad
5fcb6944f5 - Make stic0 as part of wscons.
- Remove wsmouse0/wskbd0 from all, since it already calls MAKEDEV wscons.
2002-02-22 16:20:44 +00:00
simonb
e19a9be04b Note that "addu $x, $y, $0" is a "move" only in 32-bit mode.
XXX: need to revisit this.
2002-02-22 16:18:36 +00:00
ad
f5ba8920cf Note that INSECURE is needed for X with a px or pxg. 2002-02-22 16:17:23 +00:00
ad
287977b3d2 Replace one of two divide ops with an AND when calculating the XYMASK
address.
2002-02-22 16:05:27 +00:00
skrll
7590561ee1 Make sure the kernel_pt_table has the right physical to virtual address
mapping.
2002-02-22 15:57:38 +00:00
kleink
543f1e7a2d Handle the 601's Run Mode/Trace Exception as well. 2002-02-22 13:51:40 +00:00
matthias
21fb786623 Declare the global register variable kps_strings before including anything
as this needs to be done before any function is defined (and there seems
to be a function definition in one of the include files).
2002-02-22 13:46:30 +00:00
lukem
da694bd77b fix spelos 2002-02-22 12:46:53 +00:00
enami
ae68f729ab Don't use same character for different flags. 2002-02-22 11:25:37 +00:00
agc
1c88ee495f ... and get the right month this time. 2002-02-22 10:13:41 +00:00
agc
a1cbed9f66 Bump version date to reflect this change to create/pl.c:
> revision 1.22
> date: 2002/02/18 00:57:54;  author: hubertf;  state: Exp;  lines: +10 -3
> make @cwd work a bit more reliable:
>
> When -L is used (as it is by pkgsrc), don't override the directory
> set by @cwd unconditionally with what was given to -L (srcdir).
> Instead, use the @cwd directory.
2002-02-22 10:10:38 +00:00
enami
70ca5d5195 Record some page cache related information into ubchist. 2002-02-22 08:23:16 +00:00
briggs
c31c5df13c Bumb NMBCLUSTER defaults to 2048 for GATEWAY and 1024 otherwise. These
match current powerpc defaults and are more reasonable for the current era.
2002-02-22 06:41:48 +00:00
matt
13828b4c70 Implement a cmpdi pattern so gcc won't try to help us. The good news is
that's it's smaller.  Not sure about faster.
2002-02-22 06:03:36 +00:00
matt
6238aa6c4f Back out change to NOTICE_CC_UPDATE. It has really bad side effects.
I'll fix this another way.
2002-02-22 06:02:33 +00:00
enami
dd20cf834b Use getprogname(). 2002-02-22 05:43:20 +00:00
enami
53ada2a18e Always free memroy allocated by loadvnodes(). 2002-02-22 05:21:01 +00:00
thorpej
2658062b61 Add "bin" to the list of valid kernel suffixes. 2002-02-22 05:08:16 +00:00
thorpej
5164bca298 Also generate flat binary kernels for the IQ80310. 2002-02-22 05:07:46 +00:00
enami
c31a571ef9 Forgot to fix header for union/layer vnode. 2002-02-22 05:04:43 +00:00
enami
025015575f Borrow the macro PRWORD() from vmstat.c and use it. Also, calculate the
width of pointer using sizeof(void *) * 2 instead of using 8.
2002-02-22 04:58:39 +00:00
thorpej
bb84e85802 Change pmap_map_entry() to work like pmap_map_chunk(): take a pointer
to the L1 table and a virtual address, and no pointer to the L2 table.
The L2 table will be looked up by pmap_map_entry(), which will panic
if the there is no L2 table for the requested VA.

NOTE: IT IS EXTREMELY IMPORTANT THAT THE CORRECT VIRTUAL ADDRESS
BE PROVIDED TO pmap_map_entry()!  Notably, the code that mapped
the kernel L2 tables into the kernel PT mapping L2 table were not
passing actual virtual addresses, but rather offsets into the range
mapped by the L2 table.  I have fixed up all of these call sites,
and tested the resulting kernel on both an IQ80310 and a Shark.
Other portmasters should examine their pmap_map_entry() calls if
their new kernels fail.
2002-02-22 04:49:19 +00:00
enami
6ac7c9d9d8 No need to use paren here. Actually, the usage was inconsistient through
this file.
2002-02-22 04:30:39 +00:00
enami
cbf417a013 - Fix indentation.
- Wrap long line.
- Kill unnecessary empty line.
2002-02-22 04:27:30 +00:00
thorpej
77e3a89912 When reporting there is no VM map for a fault, also report the
faulting address.
2002-02-22 03:24:09 +00:00