Commit Graph

156559 Commits

Author SHA1 Message Date
martin 7a265b8461 Fix CAS success check 2007-02-21 20:03:26 +00:00
wiz 017d008f6d Fix debug format strings (found on amd64). 2007-02-21 15:42:07 +00:00
simonb ca3eaca4a4 Fix a tyop. 2007-02-21 14:52:32 +00:00
vanhu f1c1e37275 block variable declaration before code in ipsecdoi_id2str() 2007-02-21 11:01:06 +00:00
skrll 2d92a609d7 Move the unwind info so readelf, objdump, etc can find it. 2007-02-21 10:00:59 +00:00
xtraeme e6edae011c poyt 2007-02-21 06:03:18 +00:00
rumble a701d81379 Disable handling of the power interrupt. We aren't handling it properly and
hitting any of the buttons results in infinite such interrupts.
2007-02-21 04:33:41 +00:00
rumble 1a50f13991 Since IP12 doesn't use ARCS, we could read the console setting from the
nvram, but it may not be valid. For example, if the console is set to
graphics, but no keyboard is attached, we should not attempt to use a
graphical console.

To fix this, we extend arcemu to parse the prom's environment array, which
is the third argument to the kernel. If the console mode is graphics, but
no keyboard is found, the 'gfx' environment variable will contain 'dead'.

Note that since IP12 has no bootloader, we assume that the third parameter
is the environment table, not bootinfo.
2007-02-21 04:27:10 +00:00
xtraeme 70a2fd1c38 Fix btuart entries. 2007-02-21 03:20:55 +00:00
rumble 992fd734bf Nix a few completed tasks. 2007-02-21 02:53:41 +00:00
dyoung 91ab437064 Expand SMIPS so that the 'tags' make-target covers more sources.
Sort.
2007-02-21 02:28:30 +00:00
dyoung f0a3da8a33 Following other platform-dependent MIPS code, use SI_NQUEUES for
the length of the si_to_sr table.
2007-02-21 02:26:15 +00:00
dyoung 58cb526fa7 Use __arraycount(). 2007-02-21 02:24:14 +00:00
skrll 85f62f2ac1 - Add /a modifier to trace that allows a specific LWP to be selected.
- When doing trace/t, always note which pid/lid combination is being traced

XXX This probably shouldn't be in this file.
2007-02-21 00:23:59 +00:00
gmcgarry 58305d7979 Use correct terminology for UTF. 2007-02-21 00:11:55 +00:00
rumble 1c8d0954e6 Add a reasonably disgusting hack to not complain about a non-configured
"sq" or "wdsc" device in the GIO32 SCSI and E++ adapter cases,
respectively.

This file is getting nasty, but we've just about covered all the bases now.
2007-02-20 23:49:20 +00:00
pooka fedaaf62e4 * missing open is not a failure, just return 0
* nuke accidentally committed debug printf
2007-02-20 23:49:15 +00:00
rumble 06d4753ba6 Add wdsc devices for the GIO32 SCSI adapter. 2007-02-20 23:45:09 +00:00
rumble f17c59def9 Only read the eeprom once per hpc. 2007-02-20 23:09:15 +00:00
rumble 043fd3ee40 Enable GIO32 SCSI adapters to attach at secondary and tertiary HPCs. 2007-02-20 22:21:26 +00:00
rmind 2bc19fa2f0 yamt-idlelwp: No longer "maybe" for scheduler's modulization. 2007-02-20 22:11:16 +00:00
rumble 6db143f7fd Add probe for wdsc so that we do not falsely attach wdsc(4) devices to E++
ethernet adapters.

By resetting the chip we also allow the wd33c93 attach routines to succeed.
Otherwise, device register accesses would result in a bus error.
2007-02-20 21:54:44 +00:00
briggs d298894138 Install sys/dev/bluetooth/btuart.h.
Descend into and build/install usr.sbin/btuartd.
Install etc/rc.d/btuartd.
2007-02-20 21:29:08 +00:00
heas 8dda441105 Take responsibility for postfix for rpaulo. 2007-02-20 21:21:19 +00:00
briggs ab2f2eb380 Add catman for btuart.4 2007-02-20 20:49:32 +00:00
pooka 8f09e1c196 Properly fix rev 1.44: limit error values from the file server to
positive values of errno and 0.  Otherwise it can return internal values
such as EJUSTRETURN and screw things up.

thanks to Bill for reminding me to revisit this
2007-02-20 19:45:37 +00:00
pooka a44cf00bd8 reverse order of arguments to fuse->op.symlink, remove comment
suspecting argument order reversal
2007-02-20 19:13:28 +00:00
plunky faf7b91031 Add PF_BLUETOOTH to list of supported protocol families 2007-02-20 19:08:59 +00:00
plunky 1728dbbfd4 add comment for PF_BLUETOOTH 2007-02-20 19:07:11 +00:00
pooka af95243f4c * Thread flags to VOP_OPEN (except of course O_CREAT, O_TRUNC and O_EXCL)
through fuse_file_info to the fuse open operation.
* reference count opens for each node and do release once the count
  drops to zero (instead of waiting for inactive).  I'm still not sure
  if this exactly matches linux/fuse behaviour, but at least we do
  open when a new file descriptor is opened for each node and a do
  a release when the reference to the last file descriptor for a
  node is closed, so it ought to be pretty close

cryptofs works after these changes
2007-02-20 19:00:21 +00:00
mrg 3ff056f4e0 use -publisher instead of -P. from mkisofs(1):
-P     Outdated  option  reserved  by  POSIX.1-2001,   use   -publisher
       instead.   This  option  will  get  POSIX.1-2001  semantics with
       mkisofs-2.02.
2007-02-20 18:09:05 +00:00
dsl dfbef631ff Add lwp members needed for the SYSCALL_TIMES option.
These are added unconditionally to avoid having the structure size be
option dependant.
2007-02-20 18:08:43 +00:00
pooka 5b38c61dd4 tyop in comment, fix it 2007-02-20 18:03:03 +00:00
kiyohara 3f7786a50b Indentation.
Move macro MMU_INIT.
2007-02-20 17:50:43 +00:00
kiyohara 60ea575b87 Indentation. 2007-02-20 17:48:13 +00:00
ad 67323d2552 When sending signals, only boost the priority of the receiving LWP if
the process is being killed.
2007-02-20 17:47:03 +00:00
kiyohara 548878a8d8 Remove IPKDB, not need.
Indentation at cpu and mainbus.
2007-02-20 17:43:16 +00:00
kiyohara e798fe7cb3 Remove white-space.
Indentation.
2007-02-20 17:29:33 +00:00
kiyohara 5ad2d7ced7 Add btuart. 2007-02-20 17:23:09 +00:00
xtraeme ca46ea853f Fix typo in previous: "Supprot -> Support for" 2007-02-20 17:04:41 +00:00
kiyohara 10abd6f2e2 Supprot Bluetooth HCI UART (H4) driver and daemon. 2007-02-20 16:53:20 +00:00
pooka 7016942297 In readdir, in case cookies was already allocated but is later free'd
due to an error, reset value of cookies to NULL to avoid confusing
callers.

should fix kern/35728
2007-02-20 16:45:58 +00:00
vanhu 740b198715 Removed a debug printf.... 2007-02-20 16:32:28 +00:00
pooka 033e539d53 after freeing cookies, set the pointer to NULL to prevent dangling reuse 2007-02-20 16:27:21 +00:00
ad adbb9ec2fa Call genfs_node_destroy() where appropriate. 2007-02-20 16:21:03 +00:00
ad 4abc9f506a Add genfs_node_destroy(). Fixes a lock "leak" seen when running LOCKDEBUG
kernels.
2007-02-20 16:19:42 +00:00
matt 0bd63d4831 Enable TMPFS 2007-02-20 16:14:49 +00:00
rumble cc1161439c Add a real probe so that we don't attach sq(4) on GIO32 SCSI adapters. 2007-02-20 16:11:38 +00:00
ad cebcfebbd2 kernel_lock():
- Fix error in previous.
- Call LOCKDEBUG_WANTLOCK() so the "exclusive wanted" count isn't off.
2007-02-20 16:10:10 +00:00
ad 723654a989 _kernel_lock(): we can recurse here if we take an interrupt while spinning.
Don't double book the time spent with lockstat.
2007-02-20 15:56:59 +00:00