augustss
68d53cd694
Fix typo in last commit.
2002-01-02 20:58:12 +00:00
augustss
f7839315fb
Some more usb_proc_ptr changes.
...
Also some minor stylistic changes.
2002-01-02 20:55:58 +00:00
dbj
920e8af571
add some error checks in adb_reinit, enabled with ADB_DEBUG and adb_debug
2002-01-02 20:30:45 +00:00
dbj
32eabd8148
if pm_adb_op times out waiting for an interrupt, attempt to take
...
an interrupt anyway, just in case. Otherwise, report the timout condition.
This works around a problem in my ibook if a key is pressed after boot
and before adb is configured, such as when booting with -d.
2002-01-02 20:28:43 +00:00
dbj
9c182d4af3
defer attaching akbd as console until after it has
...
been initialized in akbdattach
2002-01-02 20:21:12 +00:00
ad
215ddc9ef7
Set sc_framesize to a reasonable value early on so that DEBUG code
...
doesn't choke before we discern the real value.
2002-01-02 19:04:17 +00:00
augustss
cee8ba6db9
Get rid of a few stray __P().
2002-01-02 17:20:09 +00:00
augustss
b99cd0e9f5
More whitespace fixes from FreeBSD.
2002-01-02 16:20:14 +00:00
thorpej
9841593fe5
Fix a typo.
2002-01-02 14:48:09 +00:00
thorpej
db5e19a211
Need <sys/systm.h> for ffs() prototype (noticed by gcc 3.1).
2002-01-02 14:47:15 +00:00
uch
91fd1d80b7
VR41XX/TX3922 common kernel.
2002-01-02 13:13:18 +00:00
uch
58e763000e
fix typo in comment.
2002-01-02 13:11:02 +00:00
uch
78e38d9e62
fix bootstrap stack violation.
2002-01-02 13:08:35 +00:00
uch
f96ef6a094
fix memory probe sequence.
...
fix bootstrap stack violation. (code are moved to machdep.c)
2002-01-02 13:08:05 +00:00
uch
474928fb8f
when bootinfo has no framebuffer information, don't attach bicons.
2002-01-02 12:57:49 +00:00
uch
51c202eb5e
s/TOOLDIR/EETOOLDIR/
2002-01-02 12:49:43 +00:00
uch
71505e004a
sync with uhidev change.
2002-01-02 12:49:10 +00:00
augustss
c41bbdcea2
Change the probe code. You cannot unmap bus space and then use it.
2002-01-02 12:42:23 +00:00
uch
b8467dcaa6
int128_t and u_int128_t are wrapped in defined(_KERNEL) && defined(MIPS3_5900)
2002-01-02 12:38:46 +00:00
uch
e4130f57f1
_intr_suspend and _intr_resume declarations are moved to intr.h.
2002-01-02 12:36:20 +00:00
uch
e71de3f668
R5900 short-loop bug.
2002-01-02 12:34:27 +00:00
augustss
c572876ecb
Fix another descriptor parsing bug. Thanks to Tero Kivinen for
...
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
takemura
bd59ae1f5c
BUGFIX: sg2com isn't attached as a console device if it is a console.
2002-01-02 10:09:35 +00:00
mrg
e674bb7dc8
make this hostprog friendly.
2002-01-02 05:21:34 +00:00
mrg
dc34af64a7
- add a -i path-to-installboot option
...
- also recognise $INSTALLBOOT from the environment
- update Usage & share the option list with Help.
2002-01-02 04:13:42 +00:00
augustss
d7f7000641
Add missing newline.
2002-01-02 04:10:02 +00:00
augustss
53d829ae4c
Use the right I/O addresses for the ISA radio cards.
2002-01-02 04:08:41 +00:00
augustss
71dd2d73a6
Fix typos.
2002-01-02 03:47:35 +00:00
augustss
1d26d9e5fd
Move debug define.
...
Remove some cruft.
Update with some stuff from Warner Losh's driver.
2002-01-02 03:44:56 +00:00
augustss
e814956b5d
Add udsbr.
2002-01-02 03:26:54 +00:00
augustss
323b1e432f
Add (commented out) udsbr.
2002-01-02 03:23:07 +00:00
augustss
f63f2e4dfe
Add udsbr(4), a D-Link DSB-R100 FM radio (untested).
2002-01-02 03:21:36 +00:00
augustss
040f1e8c05
Support detach.
2002-01-02 02:44:02 +00:00
chs
e9a82c88ce
in uvm_fault_unwire_locked(), if we find that a pmap entry is missing,
...
just skip that page. this situation can arise legitimately when a file
with a wired mapping is truncated so that a wired page is no longer
part of the file.
2002-01-02 01:10:36 +00:00
chs
9451559ef4
pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
...
even if they are wired. we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
augustss
369f1d1c80
Add radio names.
2002-01-01 23:12:19 +00:00
chs
a70dcbb2fd
merge in a bit from the MP branch to cut down on LOCKDEBUG spew:
...
Use optimistic locking in pmap_create() so that we don't lock against
ourself if allocating the page directory causes pmap_growkernel() to
be called.
2002-01-01 22:52:11 +00:00
chs
a7ec5b4144
redo part of the last commit.
2002-01-01 22:18:39 +00:00
augustss
18f7211eb9
Make mr pci attachment conform.
2002-01-01 22:15:43 +00:00
augustss
32d039b3bf
Add (commented out) radio card support. From OpenBSD.
2002-01-01 21:54:21 +00:00
augustss
1c06f6a40f
Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
...
for OpenBSD, from where it was imported.
2002-01-01 21:51:38 +00:00
augustss
cdf2a29382
Regen.
2002-01-01 21:47:34 +00:00
augustss
ec0a570a33
Add a radio card.
2002-01-01 21:47:08 +00:00
hpeyerl
19d2ddde8d
Add entry for PC Weasel/PCI.
2002-01-01 16:52:23 +00:00
hpeyerl
739775cbbb
Add stanza for PC Weasel/PCI.
2002-01-01 16:49:05 +00:00
hpeyerl
e59c0dedfb
Watchdog back-end driver for PC Weasel/PCI serial console and remote
...
management board. Written by hpeyerl@realweasel.com and
thorpej@wasabisystems.com . Requires Weasel firmware v2.04 and later.
2002-01-01 16:48:34 +00:00
skrll
e25a471c87
Fix typo in comment.
2002-01-01 16:24:33 +00:00
augustss
371722006a
Add a missing subclass definition.
2002-01-01 14:23:37 +00:00
perry
dc0e791802
Happy New Year!
2002-01-01 09:17:28 +00:00
perry
259130c9d4
boost up default times for when clocks are insane (as we do every few years.)
2002-01-01 09:14:14 +00:00
thorpej
d2453f69b1
Remove the call to abort(). We don't pull in a prototype for it,
...
and there's no sane way to do so.
2002-01-01 01:58:01 +00:00
chs
43973be0c5
introduce a new UVM fault type, VM_FAULT_WIREMAX. this is different
...
from VM_FAULT_WIRE in that when the pages being wired are faulted in,
the simulated fault is at the maximum protection allowed for the mapping
instead of the current protection. use this in uvm_map_pageable{,_all}()
to fix the problem where writing via ptrace() to shared libraries that
are also mapped with wired mappings in another process causes a
diagnostic panic when the wired mapping is removed.
this is a really obscure problem so it deserves some more explanation.
ptrace() writing to another process ends up down in uvm_map_extract(),
which for MAP_PRIVATE mappings (such as shared libraries) will cause
the amap to be copied or created. then the amap is made shared
(ie. the AMAP_SHARED flag is set) between the kernel and the ptrace()d
process so that the kernel can modify pages in the amap and have the
ptrace()d process see the changes. then when the page being modified
is actually faulted on, the object pages (from the shared library vnode)
is copied to a new anon page and inserted into the shared amap.
to make all the processes sharing the amap actually see the new anon
page instead of the vnode page that was there before, we need to
invalidate all the pmap-level mappings of the vnode page in the pmaps
of the processes sharing the amap, but we don't have a good way of
doing this. the amap doesn't keep track of the vm_maps which map it.
so all we can do at this point is to remove all the mappings of the
page with pmap_page_protect(), but this has the unfortunate side-effect
of removing wired mappings as well. removing wired mappings with
pmap_page_protect() is a legitimate operation, it can happen when a file
with a wired mapping is truncated. so the pmap has no way of knowing
whether a request to remove a wired mapping is normal or when it's due to
this weird situation. so the pmap has to remove the weird mapping.
the process being ptrace()d goes away and life continues. then,
much later when we go to unwire or remove the wired vm_map mapping,
we discover that the pmap mapping has been removed when it should
still be there, and we panic.
so where did we go wrong? the problem is that we don't have any way
to update just the pmap mappings that need to be updated in this
scenario. we could invent a mechanism to do this, but that is much
more complicated than this change and it doesn't seem like the right
way to go in the long run either.
the real underlying problem here is that wired pmap mappings just
aren't a good concept. one of the original properties of the pmap
design was supposed to be that all the information in the pmap could
be thrown away at any time and the VM system could regenerate it all
through fault processing, but wired pmap mappings don't allow that.
a better design for UVM would not require wired pmap mappings,
and Chuck C. and I are talking about this, but it won't be done
anytime soon, so this change will do for now.
this change has the effect of causing MAP_PRIVATE mappings to be
copied to anonymous memory when they are mlock()d, so that uvm_fault()
doesn't need to copy these pages later when called from ptrace(), thus
avoiding the call to pmap_page_protect() and the panic that results
from this when the mlock()d region is unlocked or freed. note that
this change doesn't help the case where the wired mapping is MAP_SHARED.
discussed at great length with Chuck Cranor.
fixes PRs 10363, 12554, 12604, 13041, 13487, 14580 and 14853.
2001-12-31 22:34:39 +00:00
thorpej
6ca57419d1
Labels must be followed by statements.
2001-12-31 22:07:58 +00:00
thorpej
f9df4d877e
Avoid an "unmamed fields" warning (gcc 3.1).
2001-12-31 22:06:47 +00:00
thorpej
17da611b51
Fix a "pointers are not permitted as case values" gcc 3.1 warning.
2001-12-31 21:55:46 +00:00
thorpej
fdb5b56e5f
Do not compare an integer to NULL.
2001-12-31 21:37:22 +00:00
thorpej
aedf82267c
Move the declaration of an enum to avoid an "unnamed field not allowed"
...
warning in gcc 3.1.
2001-12-31 21:30:01 +00:00
chs
23c75a9a98
in uvm_map_clean(), add PGO_CLEANIT to the flags passed to an object's pager.
...
we need to make sure that vnode pages are written to disk at least once,
otherwise processes could gain access to whatever data was previously stored
in disk blocks which are freshly allocated to a file.
2001-12-31 20:34:01 +00:00
thorpej
9e94d2a9fe
When compiling for userland, need <stdlib.h> for abort() prototype
...
(noticed by gcc 3.1).
2001-12-31 20:20:28 +00:00
chs
ef57a67ca1
fix locking for loaning. in general we should be looking at the page's
...
uobject and uanon pointers rather than at the PQ_ANON flag to determine
which lock to hold, since PQ_ANON can be clear even when the anon's lock
is the one which we should hold (if the page was loaned from an object
and then freed by the object).
2001-12-31 19:21:36 +00:00
dbj
0057f73f87
save and restore sprg[0-3] when calling openfirmware
...
this fixes calling OF_finddevice() with invalid devices,
and as a result fixes booting with -d.
Apparently openfirmware expects persistence of sprg2 and/or sprg3
I suspect this is used when handling exceptions
2001-12-31 18:35:26 +00:00
dbj
98cbceb382
handle have_address=TRUE
2001-12-31 18:29:07 +00:00
matt
873f33f78e
Make the same change to icache/dcache size calculation as was done to ecache.
...
Fixes PR 12844.
2001-12-31 16:26:10 +00:00
augustss
cec9735688
Delay bus enumeration a little in case the controller is a companion
...
controller. This way the main controller can gain ownership of the port
before enumeration starts.
2001-12-31 15:55:51 +00:00
augustss
d8e5a1dc07
Dump enpoint number instead of endpoint index.
2001-12-31 15:54:27 +00:00
lukem
1f5f54d132
add <sys/systm.h> (for libkern.h) now that -ffree-standing is in effect
2001-12-31 15:01:51 +00:00
uwe
0207013726
Now that sbus_bus_mmap was converted to do the proper address
...
translation, get rid of sbus_bus_addr. Since sbus_bus_addr is used by
framebuffer drivers that are shared with sparc64 we cannot just change
the callers to use BUS_ADDR() w/out coordinating the change with
sparc64 that uses a different calling protocol, so stub our
sbus_bus_addr to just return BUS_ADDR.
2001-12-31 15:00:58 +00:00
augustss
88da42185c
Don't try to deactivate child if we have no bus yet.
2001-12-31 12:52:50 +00:00
augustss
0498c38d3d
Whitespace fixes (from FreeBSD).
2001-12-31 12:37:13 +00:00
augustss
637dc4b2fe
Change xfer abort to wait for the softintr to run.
2001-12-31 12:20:35 +00:00
augustss
096f451f64
Change abort slightly.
...
Change debug output.
2001-12-31 12:16:57 +00:00
augustss
f1397b7e37
Dump more of the command.
2001-12-31 12:15:46 +00:00
augustss
152efb1a0e
Make a typedef for struct proc to make portingeasier.
2001-12-31 12:15:21 +00:00
augustss
d14e739b92
Don't allow setting the configuration when an endpoint is open. From
...
FreeBSD.
2001-12-31 11:56:37 +00:00
augustss
0a3269865e
Only clear stall if endpoint is stalled. From FreeBSD.
2001-12-31 11:54:06 +00:00
mrg
e5fc1d934a
clarify usage. idea from david obrien.
2001-12-31 09:44:04 +00:00
matt
0bc218f05c
When determining ecache size, try using ecache-size. if it doesn't exist,
...
fallback to the old method (ecache-nlines * ecache-linesize).
2001-12-31 07:30:46 +00:00
chs
b4224d4d38
fix locking in nfs_getpages().
2001-12-31 07:16:47 +00:00
chs
4d069e8517
in uvm_vnp_setsize(), wait for any i/o in progress on pages that we free.
2001-12-31 07:00:15 +00:00
chs
03ea276e84
in genfs_gop_write(), actually set the B_ASYNC flag on buffers that we're
...
not going to wait for. this doesn't matter for real devices since we call
VOP_STRATEGY() directly, but NFS uses this flag to decide whether or not
to hand the buffer off to an nfsiod thread.
2001-12-31 06:44:58 +00:00
chs
64b0c2adbb
in genfs_putpages(), we must wait for any pending write i/os to complete
...
if the putpages request is synchronous.
2001-12-31 06:40:08 +00:00
jhawk
a21d1ea7ac
Convenience variables (workXX) don't work, so don't document them.
2001-12-31 00:35:21 +00:00
dbj
f03e8813e0
allow ddb access to lr, ctr, cr and xer registers when not on PPC_IBM4XX
2001-12-30 20:53:04 +00:00
dbj
98d1a18067
remove unused variable in kgdb_acc
2001-12-30 20:50:53 +00:00
augustss
ff21b251a0
Make sure we don't have any pending softintrs when entering polling mode.
...
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
2001-12-30 20:26:59 +00:00
augustss
776b0e7851
A little more debug.
2001-12-30 19:37:43 +00:00
someya
a0d9eb8746
add powerhook support to resume correctly, fix PR#13079.
2001-12-30 19:33:15 +00:00
augustss
70dea46276
Fix typo.
2001-12-30 19:22:28 +00:00
pk
5237c5fb99
In cpu_fork() set tf_npc as well in case a signal is taken in child_return()
...
which will cause the values of tf_pc and tf_npc set here in cpu_fork()
to be restored and used to return to user space from sigreturn() eventually
(before that the tf_pc and tf_npc set in sendsig() will be used in
proc_trampoline()).
Also, the fork system call never uses the SYSCALL_G2RFLAG shortcut, so drop
the code handling that.
2001-12-30 18:52:54 +00:00
pk
76634d2635
Change interface between cpu_fork() and proc_trampoline() so that `tf_pc'
...
(instead of `tf_npc') contains the user-space return address. This ensures
entering the signal trampoline code correctly in case we take handled
signal during child_return().
2001-12-30 16:41:29 +00:00
lukem
95c845e4fc
add -Os to COPTS after <bsd.prog.mk> is pulled in rather than adding
...
it in CFLAGS beforehand, as a user's mk.conf COPTS+=-O2 results in
boot files that are too large.
2001-12-30 16:32:29 +00:00
fvdl
a833eaf1fe
XXXX temporary measure: in the case of a softdep 'unmount pending error',
...
do not mark the filesystem clean, as this will mean that one or more
files were likely not completely removed (will show up as unconnected
in fsck). Prevents filesystems from being marked clean while they're
not until this problem has been figured out.
2001-12-30 15:46:53 +00:00
wiz
b5df8875da
Uncomment uhidev, since other entries depend on it.
2001-12-30 14:49:08 +00:00
augustss
dbd7c7b7bc
Make uhidev change.
2001-12-30 13:28:13 +00:00
junyoung
a6a57e7b6f
Registers are of u_int8_t type.
2001-12-30 13:13:04 +00:00
takemura
936fd137e6
BUGFIX: It allocated only 44 bytes for hpcapm while the device needed
...
764 bytes.
it was really terrible.
2001-12-30 12:57:41 +00:00
ichiro
23d158a3e8
regen
2001-12-30 12:46:10 +00:00
ichiro
3276c42a93
add
...
TSB43AA22 OHCI IEEE 1394 Host Controller
2001-12-30 12:45:32 +00:00
augustss
dd4b4280f7
Add new scanners to the table.
...
(The scanners don't actually have to work to be in the uscanner table,
this is how Linux does it and uscanner is just there because Linux has it.)
2001-12-30 11:13:22 +00:00
augustss
fb4d205cd6
Regen.
2001-12-30 11:08:19 +00:00
augustss
095e2b87e3
Fix typo in last commit.
2001-12-30 11:01:44 +00:00
augustss
bdbdfed4ec
Add some missing files.
2001-12-30 11:01:24 +00:00
gehenna
7a22165e1c
fix product ID
2001-12-30 05:12:36 +00:00
gehenna
b48ed7ad6d
regen
2001-12-30 05:11:29 +00:00
gehenna
e9ab191fc3
Add some vendor/product IDs (from FreeBSD)
2001-12-30 05:09:50 +00:00
ichiro
2e72aee615
regen
2001-12-29 22:31:10 +00:00
ichiro
35012be445
add products
...
VT6305 OCHI IEEE 1394 Controller
VT3606 OCHI IEEE 1394 Controller
2001-12-29 22:30:33 +00:00
thorpej
2270cd2cb5
Add a case for x86_64.
2001-12-29 21:13:46 +00:00
augustss
5a31e4e8f8
Make the driver a little less talkative on errors.
2001-12-29 20:50:16 +00:00
augustss
3850573d96
Remove garbage.
2001-12-29 18:57:16 +00:00
augustss
c19b7e5c1b
Be more paranoid about input sizes.
2001-12-29 18:56:52 +00:00
augustss
5db54303c8
Reset global count value properly.
2001-12-29 18:56:20 +00:00
augustss
198e193c28
Don't clear global report values when reporting an item.
2001-12-29 17:48:29 +00:00
junyoung
0d2905f4fc
- Add a structure needed for access to CRTC registers.
...
- Add definitions for misc output register.
- Add defintions for the number of registers.
2001-12-29 17:44:35 +00:00
junyoung
dde1e51a31
Add functions needed for access to CRTC registers.
2001-12-29 17:40:35 +00:00
junyoung
ea3be41a59
KNF.
2001-12-29 17:06:50 +00:00
augustss
93f9b36aad
Add a debug message.
2001-12-29 16:15:42 +00:00
augustss
496dc72437
Add some definitions from the USB OTG (On The Go) spec.
2001-12-29 15:44:11 +00:00
pooka
065a38a17f
regen
2001-12-29 15:01:23 +00:00
pooka
e42e0310b4
Socket Communications Low-Power CF WLAN
2001-12-29 15:00:45 +00:00
augustss
9cef2a3db7
Add an XXX comment.
2001-12-29 14:25:47 +00:00
augustss
01eafb2239
Add some IrDA names.
2001-12-29 14:24:54 +00:00
augustss
9dd24c8a92
Regen.
2001-12-29 14:08:02 +00:00
augustss
5f958aabb7
Fix a typo.
2001-12-29 14:07:45 +00:00
augustss
8164bd8bae
Move some USB device quirks to the umass_quirk table.
2001-12-29 14:06:18 +00:00
augustss
b965a7d6eb
Remove some quirk entries that are handled in umass_quirk now.
2001-12-29 13:55:02 +00:00
augustss
414b3c7766
Always set the PQUIRK_ONLYBIG quirk for SCSI devices.
2001-12-29 13:52:21 +00:00
augustss
276b009425
Introduce a field, busquirks, in the umass quirk table that is passed
...
directly to the quirk field for the bus.
2001-12-29 13:46:23 +00:00
ichiro
a926e1d151
done - Make fwohci detach correctly (for cardbus/etc type interfaces)
2001-12-29 12:28:05 +00:00
ichiro
fc50aac093
implement fwohci detach routine.
2001-12-29 12:26:31 +00:00
augustss
e6bd479028
Add the new names for uhidev.
2001-12-29 10:53:13 +00:00
augustss
59473972d2
Only pull in HID processing if a driver needs it.
2001-12-29 10:50:55 +00:00
takemura
4ff1a4256d
Commented out the line which install interrupt handler because sg2com
...
interrupt port is unknown and it doesn't work at all.
2001-12-29 09:26:23 +00:00
ichiro
63a6896a6c
regen
2001-12-29 08:32:06 +00:00
ichiro
78efe121bf
add product
...
IBM Smart Capture Card II
2001-12-29 08:31:01 +00:00
thorpej
4adc65cb8e
We also need the i386 header files; descend into ../i386/include to
...
install them.
2001-12-29 05:32:59 +00:00
takemura
37728140db
Added debugging output indicating details of interrupt register setting.
2001-12-29 05:15:32 +00:00
takemura
dce583bd28
Added sg2com(SigmarionII sertial).
2001-12-29 04:27:33 +00:00
augustss
750a5959b8
Add some missing scan code translations. Docs from Microsoft via Perry Metzger.
2001-12-29 02:53:41 +00:00
thorpej
989d1769bc
Add a linker script for the NetBSD/x86_64 kernel; provides _etext
...
in the place that we want for the kernel (after all read-only sections).
2001-12-29 02:24:06 +00:00
christos
49b8e36112
Clean up the C_ and S_ constants. We don't really need two sets of them.
...
Also make the interrupt handler for older 3com cards look like the xl one.
I.e. don't ack the interrupt latch bit before checking if it is set.
At the same time, introduce constants for the watched interrupts, so that
we don't copy them all over the place.
2001-12-28 20:35:46 +00:00
augustss
b53ea42bf0
Update for new uhidev device attachment.
2001-12-28 17:37:01 +00:00
augustss
935b0481a9
Introduce an extra driver level for HID devices, uhidev. This uhidev driver
...
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev. The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers. The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
2001-12-28 17:32:36 +00:00
itohy
818f391658
Move this figure to more suitable place:
...
http://www.netbsd.org/Documentation/Hardware/Chips/C-Media/cmi8738-mixer.fig
2001-12-28 14:02:48 +00:00
martin
b506d6e135
Add PPPoE to all generic kernels that should be able to use it.
...
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
thorpej
23ed6be403
Always provide alloca() as __builtin_alloca().
2001-12-28 07:37:06 +00:00
thorpej
2db4da1742
Fix some register constraints; specifically, the "port" operand,
...
if not an immediate, must be in a 16-bit register.
2001-12-28 06:42:40 +00:00
thorpej
670bf31890
Fix the definition of ELF32_MACHDEP_ENDIANNESS.
2001-12-28 06:35:19 +00:00
shin
b7e3f7d6e3
R4000/R4400 always detects virtual alias as if
...
primary cache size is 32KB. Actual primary cache size
is ignored wrt VCED/VCEI.
2001-12-28 04:06:06 +00:00
shin
f15b256063
check if curproc is invalid, and do panic.
...
otherwise, we can't useful backtrace.
Ex. address error in interrupt handler.
2001-12-28 02:13:14 +00:00
minoura
da0ba70058
Remove some error messages to reduce the size.
2001-12-28 02:12:55 +00:00
toshii
f8c1bea196
Allow jornada720 LCD and keyboard to be used as a boot console.
2001-12-28 01:41:53 +00:00
augustss
f690fc0845
More DIAGNOSTIC.
2001-12-28 00:21:26 +00:00
augustss
3bf49b584d
Add some more #defines.
2001-12-28 00:20:24 +00:00
shin
ae12ee76a0
add #ifdef DEBUG around VCED_count etc.
2001-12-27 22:55:46 +00:00
nathanw
5dbef63175
Use PQUIRK_ONLYBIG for all Olympus cameras, not just the C-1.
...
Use PQUIRK_ONLYBIG for the PQI TravelFlash.
2001-12-27 18:57:46 +00:00
augustss
04ec4ba316
Add some DIAGNOSTIC stuf that I forgot. From Nate Williams.
2001-12-27 18:48:28 +00:00
augustss
f8e03bd53c
Change some DIAGNOSTIC #defines.
2001-12-27 18:43:46 +00:00
christos
af7d3cdd3d
use the new ci_info hook to print extra cpu information during probe.
2001-12-27 15:28:34 +00:00
christos
e59d5895b1
add a new function to the cpu struct's that can be called to print extra
...
cpu information after initialization.
2001-12-27 15:24:34 +00:00
itohy
74f17f2922
Analyzed structure of CMI8738/PCI-6ch-* mixer
...
for the benefit of those who edit the driver.
This is a Fig file. Use Xfig to edit/view, use Transfig
package to convert to other graphic formats.
2001-12-27 14:20:30 +00:00
itohy
f741672ddc
Fix comment.
2001-12-27 14:17:04 +00:00
augustss
0df9b7654d
ANSIfy.
2001-12-27 11:28:01 +00:00
augustss
d0f9a76506
Update a comment.
2001-12-27 11:27:11 +00:00
augustss
1f003f1c43
Name collection types.
2001-12-27 11:25:47 +00:00
augustss
81b818b421
Add usbd_get_protocol().
2001-12-27 11:24:42 +00:00
augustss
12560718c5
Files I forgot to remove in last commit.
2001-12-27 11:23:56 +00:00
manu
daf979dbeb
Added symlink, rename and readlink
2001-12-27 11:07:23 +00:00
dbj
1b65d8fd30
fix single stepping and continuing from breakpoints in ddb
2001-12-27 10:32:23 +00:00
dbj
2bea447d60
sync the instruction cache even when only writing 2 or 4 bytes
2001-12-27 10:25:41 +00:00
manu
a965f74abe
getpgid implemented
2001-12-27 09:31:09 +00:00
shin
606f00a905
split VCED and VCEI.
2001-12-27 04:19:17 +00:00
shin
d00d2e4bcb
simplify VCED processing.
...
just write back and invalidate secondary cache line and fetch data again.
2001-12-27 04:03:37 +00:00
ad
281fb6d209
In clalloc(), clear the quoted char bitmap (part of the ring buffer was
...
being cleared twice).
2001-12-27 02:27:50 +00:00
wiz
5514d0b117
bcopy/bcmp/bzero -> memcpy/memcmp/memset
2001-12-27 02:23:24 +00:00
fvdl
d0f7c6fb96
Use softdep_change_linkcnt to note that the inode mode was set to 0.
...
From FreeBSD.
2001-12-27 01:48:38 +00:00
fvdl
c9218f8686
The softdep code sometimes use vfs_vget .. vput. For removals, these
...
would result in a vop_inactive call for the vnode each time, resulting
in vinvalbuf->fsync. The original softdep code avoided the fsync
in vinvalbuf by not calling it if there were no dirty blocks. This
was changed in NetBSD. Also, flush_inodedeps was changed to mark
the inode as modified so that it would do an inode update and flush the
last one. This combination basically caused a sync write for each removed
file in an rm -rf (showing up delayed from the syncer a lot of the time).
If called from vinvalbuf (FSYNC_RECLAIM), and there were no dirty blocks
or pages to begin with, still do everything as normal, so that possible dirty
blocks in transit to disk are properly waited for, etc, but don't pass
UPDATE_WAIT to VOP_UPDATE, since there is no need for it in that case.
2001-12-27 01:44:59 +00:00
fvdl
2b5fe12a98
Pull over one missed fix from FreeBSD wrt. running out of quota. Also
...
reshuffle some code a bit to make it look more similar (no functional
change).
2001-12-27 01:29:05 +00:00
thorpej
1ab1192459
Makefile for x86_64 includes and boot blocks.
2001-12-27 00:43:25 +00:00
shin
1bac15cba5
we need ffs().
2001-12-27 00:10:39 +00:00
shin
6870c1d462
don't use .abicalls in kernel.
2001-12-27 00:09:59 +00:00
shin
e509d7712d
copy from libc/arch/mips/string
2001-12-27 00:08:19 +00:00
manu
2faf78e180
Reworked irix_syssgi_mapelf. It now uses elf_load_psection, and this
...
remove the odd bug which caused INSANE_DEBUG_IRIX to be mandatory in
order to avoid a panic when mapping libraries.
2001-12-26 22:18:25 +00:00
thorpej
86a77080a5
Remove (incorrect) extern decl of emul_hpux.
2001-12-26 19:08:11 +00:00
thorpej
232c19df9d
A statement must follow a label.
2001-12-26 19:00:31 +00:00
thorpej
63d3d9fe5a
Multi-line string literals are not in ANSI C; don't use them.
2001-12-26 17:37:59 +00:00
minoura
e36ba40641
Backout previous.
...
It was a garbage; atatat already commited the fix in another way.
2001-12-26 14:40:20 +00:00
manu
945d746288
integrated a copy of svr4_waitsys(), which should be merged later.
...
This has not been fully tested, but it makes IRIX's /bin/sh able to survive
running an external command such as ls.
2001-12-26 11:04:20 +00:00
augustss
996d5c6c26
Be a little more paranoid.
2001-12-26 10:56:58 +00:00
manu
aeeecdfad1
Updated copyright (getdents code is from Christos, written in 1994)
2001-12-26 10:54:56 +00:00
cjs
80c0f36acc
Re-make these after usbdevs update.
2001-12-26 07:18:36 +00:00
cjs
2d1b70cd08
Add ID for memory stick slot in Sony Clie running PalmOS 4.0. This may also
...
be the same for the PalmOS 3.5 versions, but I can't test that.
2001-12-26 04:32:39 +00:00
ross
71c3eef663
include systm.h (for libkern.h (for ffs()))
2001-12-26 00:38:37 +00:00
manu
9423df444f
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
...
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-25 21:32:30 +00:00
manu
ae9b01a907
Added getcontext/setcontext. This has not been fully tested, but it seems to
...
work enough for binaries that use it (eg: telnet).
Problems:
- what should we do with uc_filler?
- how to handle FP regs?
2001-12-25 19:04:18 +00:00
someya
09638d7a55
add 600 times dummy read from codec for YMF744 (revision < 2).
2001-12-25 16:55:50 +00:00
manu
0d7961013d
Added irix_sys_lseek64()
2001-12-25 16:40:48 +00:00
christos
70e238a1bc
PR/15049: Katsuomi Hamajima: fix memset re-definition.
2001-12-25 14:03:15 +00:00
jmcneill
ff0249d84d
Fix block position calculation in esl_intr.
2001-12-25 04:05:34 +00:00
jmcneill
b0df9e12af
The check for AUMODE_PLAY in esl_set_params was breaking some applications.
...
Remove it.
2001-12-25 03:47:46 +00:00