eeh
35d96171e7
Fix bus_type_t properly and enable ASI accesses for bus_space_{read,write}*()
1999-05-22 20:28:22 +00:00
eeh
56b080bed6
Fixup argument confusion to __asm() statements. long long is two registers
...
wide in 32-bit mode. Doh!.
1999-05-22 20:25:49 +00:00
scw
7c6d40745a
Double the value for NKMEMCLUSTERS, to allow more KVA for LFS et al.
1999-05-22 16:37:03 +00:00
nisimura
10d1acd4ea
- Backout the last code change. I found it broke pmax kernel. It's
...
retained for future use of pmap.new.c, though.
> New codes always use current ASID holded in EntryHi register.
1999-05-22 02:35:35 +00:00
thorpej
66324de865
Use the pool allocator for pv_entry structures. Set a (patchable/config'able)
...
low water mark on the pool, so we have some chance of crawling along in
extreme memory shortages.
1999-05-21 23:07:59 +00:00
thorpej
ed4224c64e
Fix a couple of problems from the ether_input() change:
...
- Make it compile again, with BPF.
- Don't subtract the Ethernet header length from the total packet length.
- Copy the alignment fix from sys/dev/ic/i82586.c (though the m68k shouldn't
really be affected).
1999-05-21 21:48:28 +00:00
thorpej
a79a728c6c
Copy alignment fix from dev/ic/i82586.c (Um, this extra copy should die,
...
too, but at least it's not as bad as the podulebus ie driver).
1999-05-21 21:33:59 +00:00
thorpej
87a9ee7804
Copy alignment fix from dev/ic/i82586.c (Um, this copy of the driver
...
needs to die, pretty please.)
1999-05-21 21:31:37 +00:00
minoura
f4316c1145
Tribial optimizations.
1999-05-21 15:32:38 +00:00
minoura
1567b0074d
Sync GENERIC.
1999-05-21 15:15:33 +00:00
minoura
fcb74cccfa
Remove experimental/buggy options.
1999-05-21 15:08:27 +00:00
pk
6f9ad5b61d
Since we're now prepending the ethernet header to mbuf on incoming
...
packets, make sure to align the data after the ethernet header.
1999-05-21 13:08:50 +00:00
augustss
ac197c5354
Update documentation URLs.
1999-05-21 10:15:23 +00:00
nisimura
fd243bd393
- Redefine symbols and parameters to represent CPU design with MIPS
...
nomenclature, retaining the old heritage.
- Remove API-related definitions for now obsolete utiltity routines.
1999-05-21 06:37:39 +00:00
nisimura
e5ecc1bc87
- Typos, I made...
1999-05-21 06:36:37 +00:00
nisimura
28c74563b6
- Make sure ASID PARANOIADIAG work with MIPS3.
1999-05-21 06:19:55 +00:00
nisimura
1b332b28e2
- Now completing MIPS1 side change. Introduce MIPS_TBIS and MIPS_TBDATA
...
(correct name, vax?) replacing mips1_TLBFlushAddr and mips1_TLBUpdate,
respectively. New codes always use current ASID holded in EntryHi
register. In most occations, the register already contains a necessary
value before (re-)written, ugh. 'sva | asid' ops for their arguments are
now verbose, to be removed when MIPS3 side changes are done.
1999-05-21 06:01:14 +00:00
nisimura
634cb79411
- Rename '#ifdef DIAGNOSTIC' to '#ifdef PARANOIADIAG' to detect
...
catastrophic events to break VM machinary. Add some more diags to
track ASID.
1999-05-21 05:28:31 +00:00
nisimura
9cfc8d7736
- Track filename changes.
1999-05-21 01:10:49 +00:00
nisimura
04aeaae250
- Rename file names;
...
dec_3max_subr.c -> memc_3max.c, dec_kn02_subr.c -> memc_3min.c
1999-05-21 01:09:48 +00:00
augustss
b1800a623c
Make this file syntactically correct again.
1999-05-21 00:25:48 +00:00
thorpej
a07ba7d1c1
Update the calls to allocsys().
1999-05-21 00:09:09 +00:00
thorpej
d7ffa508b1
Provide an mdallocsys() that clips bufpages if necessary (on the Sun4c).
...
This will be (and needs to be) done before nbuf is computed.
1999-05-21 00:08:14 +00:00
thorpej
ba2bc023f7
Call the mdcallback immediately after computing bufpages; bufpages may
...
need to be clipped, and this needs to be done before computing nbuf.
1999-05-21 00:05:12 +00:00
thorpej
96993ef749
Make a slight modification of pmap_growkernel() -- it now returns the
...
end of the mappable kernel virtual address space. Previously, it would
get called more often than necessary, because the caller only new what
was requested.
Also, export uvm_maxkaddr so that uvm_pageboot_alloc() can grow the
kernel pmap if necessary, as well. Note that pmap_growkernel() must
now be able to handle being called before pmap_init().
1999-05-20 23:25:42 +00:00
thorpej
f311a1c308
Make a slight modification of pmap_growkernel() -- it now returns the
...
end of the mappable kernel virtual address space. Previously, it would
get called more often than necessary, because the caller only new what
was requested.
Also, export uvm_maxkaddr so that uvm_pageboot_alloc() can grow the
kernel pmap if necessary, as well. Note that pmap_growkernel() must
now be able to handle being called before pmap_init().
1999-05-20 23:03:23 +00:00
ragge
b337d4d3c7
Don't detect glass tty if the machine is a workstation.
...
Hint from Thomas Seidmann.
1999-05-20 23:00:58 +00:00
ad
5bb340fef9
This file is superceded by rcons.h.
1999-05-20 21:16:57 +00:00
tsarna
25e3ee0ff2
Add a *bunch* of types (file went from ~4K to ~16K!)
1999-05-20 21:02:43 +00:00
thorpej
88c7cff619
Make this compile again.
1999-05-20 20:15:27 +00:00
thorpej
1d197b8e7b
If we run out of virtual space in uvm_pageboot_alloc(), fail gracefully
...
rather than unpredictably.
1999-05-20 20:07:55 +00:00
thorpej
3aa41b1b36
Make this actually work if the BUFCACHE option is not specified, by falling
...
back on the traditional BSD formula of 10% of first 2MB and 5% of remaining.
1999-05-20 20:01:28 +00:00
thorpej
332dd60029
Fix broken prototype.
1999-05-20 19:56:49 +00:00
thorpej
3da4443954
Oops, commit here slipped through the cracks.
1999-05-20 18:07:27 +00:00
nisimura
c0c79283f3
Moved from dec_kn02_subr.c
1999-05-20 14:15:57 +00:00
nisimura
a5b668be64
Moved from dec_3max_subr.c
1999-05-20 14:14:39 +00:00
nisimura
90d9a14b01
- Avoid recomputations inside inner-most loop which produce identical
...
values evreytime.
1999-05-20 10:50:08 +00:00
pk
fea10fb499
Operate Hypersparc cache in write-back mode again.
...
Remove `hypersparc under construction' message.
1999-05-20 10:06:39 +00:00
pk
1040b9e209
If TLB entries need to be flushed, make sure to do this after any necessary
...
cache flushes, since on VIPT machines the cache flush may induce a TLB load.
1999-05-20 10:03:12 +00:00
augustss
4655ae1230
Keep track of vendor id and make sure the vendor string is NUL terminated.
1999-05-20 09:52:35 +00:00
augustss
3d6c3b5c03
Update for TI vendor id.
1999-05-20 09:51:13 +00:00
augustss
5d6176a144
Regen.
1999-05-20 09:50:39 +00:00
augustss
d25385e28e
Change vendor of id 0x0451 to Texas Instruments.
1999-05-20 09:50:09 +00:00
augustss
b9f32af4e5
Regen.
1999-05-20 09:23:33 +00:00
augustss
10713ae5ad
Change vendor id 0x11c1 to Lucent since that seems to be what it is now.
...
Add a Lucent USB controller.
1999-05-20 09:23:08 +00:00
lukem
e4a87aa1a9
* convert to using MI allocsys(). most ports were using an MD allocsys(),
...
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
lukem
5ef2870d85
remove nbuf, nswbuf. cleanup def of AUTONICE(TIME|VAL)
1999-05-20 06:03:01 +00:00
lukem
dbbe159e68
- add kern_allocsys.c
...
- move a comment around
1999-05-20 06:01:16 +00:00
lukem
091ffad669
MI implementation of allocsys()
1999-05-20 05:59:52 +00:00
lukem
03b1725220
rework format_bytes() into a more generic humanize_number().
...
implement the former with the latter.
1999-05-20 05:58:19 +00:00
lukem
52ebdaa0d6
* add humanize_number() (a more generic version of format_bytes(),
...
which the latter uses)
* add allocsys() - MI version of the MD function of the same name,
and ALLOCSYS() - a vamped up VALLOC().
1999-05-20 05:53:34 +00:00
cgd
36e7791991
g.c. now-unneeded variable declarations (cfree, swbuf, utsname
1999-05-20 05:35:28 +00:00
nisimura
a784d093ea
- Change pmap_alloc_asid() and pmap_activate() to make sure that
...
'pm_asid' member of 'pmap' structure is assigned a new value after
uvmspace_alloc() provides afresh pmap.
- ASID generation number 0 is not a reserved value anymore.
1999-05-20 05:32:06 +00:00
nisimura
7d44b47145
- Make tlb dump DDB command have 'D' indication for TLB 'dirty bit'. MIPS
...
processor is one of processors with no 'referenced bit' nor 'modified bit'
processor machinary. Those functions are implemented combining two
hardware bits, 'dirty bit' and 'valid bit', with TLBmod exception handler.
1999-05-20 03:34:06 +00:00
ad
a4f0570f7d
SPARC console is black on white, and is centered by default.
1999-05-19 21:05:59 +00:00
ad
02bc362e3e
Add arg to rcons_init() that when set causes screen to be cleared.
1999-05-19 20:34:19 +00:00
ad
39db587e6f
Cleanup.
1999-05-19 20:14:46 +00:00
ad
4bebd3ff7c
Don't clear screen upon startup unless we're running on a pmax (remedies
...
quirky behaviour of px boards). Shuffle come code in rcons_init_ops() in
order to be more clear.
1999-05-19 20:07:34 +00:00
ad
218af6a342
Insert missing code that defines screen metrics for rcons. This fixes the
...
more blatant rcons brokenness (ie no panics).
1999-05-19 19:59:04 +00:00
thorpej
2bf52583ef
Bump version; (*if_input)() changes.
1999-05-19 16:32:40 +00:00
bouyer
cbd39e5f67
Document the 'wdc at isa' flags.
1999-05-19 14:41:54 +00:00
bouyer
ba2e85e711
32 bits I/O ocasionally fails on some hardware, so the test succeed but
...
the kernel can get a 'protection fault trap' later. Enable the 32 bits I/O
test conditionally on a config flag, disabled by default (problem
reported by kurt.schreiner@uni-mainz.de ).
1999-05-19 14:41:25 +00:00
minoura
6e67e063ff
Disable on-chip cache for PT and ST pages for '060 stability.
1999-05-19 14:06:59 +00:00
pk
ae6d12926c
Turn on the video timing which is not always done by the PROM (e.g. if we're
...
not the console).
1999-05-19 08:31:42 +00:00
scw
07daebdd99
Fix copyin() with zero length. (Arguments to 'moveq' were swapped).
...
CVo: ----------------------------------------------------------------------
1999-05-19 07:50:06 +00:00
nisimura
a5a47c3772
- Implement MIPS_TBIAP() which invalidates all TLB entries belong to
...
per process user spaces, replacing mips1_TBLFlush(). This reserves
kernel space TLB entries when TLBPID generation number about to wrap.
- Correct comments a bit, nuke unused routines.
1999-05-19 07:08:43 +00:00
chs
a5d3e8dae9
when wiring swap-backed pages, clear the PG_CLEAN flag before
...
releasing any swap resources. if we don't do this, we can
end up with a clean, swap-backed page, which is illegal.
tracked down by Bill Sommerfeld, fixes PR 7578.
1999-05-19 06:14:15 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
29184c350f
Add a few more Communication Interface Class subclasses (including Ethernet
...
and *shudder* ATM).
1999-05-18 23:42:56 +00:00
tron
ce798896e4
Compile all VFS LKMs on all ports.
1999-05-18 23:06:02 +00:00
ad
bb3a510fa2
Assign ownership & copyright to TNF. There is probably a procedure for this
...
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
ad
3d5a1b1eea
Sync with last two changes made to sys/arch/sparc/dev/fb.c (don't clear
...
screen, typo).
1999-05-18 21:38:07 +00:00
ad
7efb86f6b8
Fix typo that broke rasops operation.
1999-05-18 21:36:21 +00:00
thorpej
0ff6aaf4c2
Don't clear the screen when we connect rasops; the SPARC doesn't connect
...
the rasops console until autoconfiguration, and it kinda sucks to have
the boot messages suddenly disappear from the screen.
1999-05-18 18:13:39 +00:00
augustss
8d38841260
Make it possible for this driver tp work again.
...
From Thomas Klausner - wiz@danbala.tuwien.ac.at
1999-05-18 16:41:07 +00:00
nisimura
523983b88b
- Forgot to change 'tlbpid' to 'asid'. But, why does the MIPS TLBmod
...
handler touch the value anyway?
1999-05-18 03:13:37 +00:00
nisimura
c99765853f
- Move MachSetPID(1) call to pmap_bootstrap() adajacent to kernel pmap
...
initialization code.
- Abandon mips_init_proc0() and do the 4 lines straightly in MD mach_init().
- Restore a block of code accidentally lost in prevous commit.
- Change the term 'tlbpid' to a MIPS3 nomenclature 'asid'.
- Hide PTE size exposures by symbolic names in locore.S
1999-05-18 01:36:51 +00:00
thorpej
dbdf646ecf
Fix compilation problems on the Alpha.
1999-05-18 00:22:41 +00:00
wrstuden
96321000fc
Remove explicit references to null_bypass (used in umap_lock() and
...
umap_unlock()) so as to not explicitly depend on nullfs being compiled
into the kernel.
umap_bypass won't be too slow as there are no credentials in these two ops
to need mapping.
1999-05-17 20:29:05 +00:00
is
c5c2942a73
allow more than one ed, es or qn
1999-05-17 20:08:22 +00:00
is
5964e71dc7
Allow for more than 1 of ed, es or qn
1999-05-17 19:42:56 +00:00
thorpej
a2dc12021c
Oops, completely forgot to translate the exit signal in clone(2).
1999-05-17 19:26:33 +00:00
drochner
d2fe8176fd
regen
1999-05-17 17:08:08 +00:00
drochner
2187089e80
add NeoMagic 256AV Video/Audio chip
1999-05-17 17:07:00 +00:00
drochner
9c0c171c30
add some #ifdefs to make it link w/o wskbd
...
(especially for vax)
1999-05-17 16:53:43 +00:00
kleink
2239a48b22
Install ntfs headers.
1999-05-17 16:41:48 +00:00
thorpej
9410ed17c1
Count new resident and wired pages in pmap_kenter*().
1999-05-17 16:22:57 +00:00
nisimura
f2119ffdfb
- Nuke one unused global variable 'mem_size'.
...
- Kernel pmap is now dectected by "if (pmap = pmap_kernel())" clause.
1999-05-17 11:12:44 +00:00
nisimura
b7876c4182
- Minor code and comment adjustments for pmap_alloc_tlbpid() and
...
pmap_activate(), no functional change.
1999-05-17 01:10:51 +00:00
thorpej
7e68ddd393
Update the comments above vmapbuf() and vunmapbuf() to reflect reality.
1999-05-16 22:24:16 +00:00
ad
20be6a2a2a
Fix typo on my behalf. From Juergen Hannken-Illjes.
1999-05-16 21:19:33 +00:00
thorpej
788dee365c
Sigh, fix some broken logic in the last change to INADDR_TO_IA(), and make
...
the macro a little more obvious. Should fix kern/7589, from Jens A Nilsson.
1999-05-16 19:33:27 +00:00
thorpej
8745214a3c
Make this build without wsdisplay.
1999-05-16 19:21:31 +00:00
pk
87d4c19ebf
Remove cruft from `nmi_hard()' interrupt handler.
1999-05-16 16:56:35 +00:00
pk
1a2299d57c
Temporary work-around in pmap_enter on 4/400 machines: pre-allocate
...
MMU region cookies. This keeps the machine from crashing when running
in user mode.
TODO: fix the bugs then kill or alter this work-around.
1999-05-16 16:48:59 +00:00
pk
d379bda6a5
Well, what do you know.. the TLB context flush has been coded with the
...
wrong `type' field all these years. Fix this and add a TLB region flush
as well. Also take care of a few inconsequential nits.
1999-05-16 16:37:45 +00:00
mrg
f5af676456
white space.
1999-05-16 14:47:52 +00:00
augustss
011be0080e
Add vendor/product/release locators. Added in frustration as my HID
...
devices appeared as different devices after some plugging and unplugging. :-)
1999-05-16 13:51:05 +00:00
augustss
041a8536ac
s/revision/release/
1999-05-16 12:05:10 +00:00
augustss
00930acefa
Improve error handling. Mostly from FreeBSD.
1999-05-16 11:43:32 +00:00