Commit Graph

156782 Commits

Author SHA1 Message Date
thorpej
b25aff5288 TRUE -> true, FALSE -> false 2007-02-22 04:47:27 +00:00
matt
c40caef899 More boolean_t -> bool lossage. 2007-02-22 04:47:07 +00:00
matt
93feeb1203 Fix lossage from boolean_t -> bool and updated x86 bus_dma. 2007-02-22 04:38:02 +00:00
hubertf
1de6c4ec42 That one needs ctype.h, too (which was removed from the mrouted/defs.h
file for cleanup earlier today)
2007-02-22 01:29:35 +00:00
hubertf
64cd915703 Pull in ctype.h after it was removed from 'defs.h' in previous commit
to src/usr.sbin/mrouted.
2007-02-22 01:25:13 +00:00
rumble
b8aa615905 Make this compile again. 2007-02-22 01:04:18 +00:00
thorpej
dd962f8680 Pick up some additional files that were missed before due to conflicts
with newlock2 merge:

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 23:48:10 +00:00
thorpej
712239e366 Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
mrg
fe8ace86aa shave 9 insns off the tsb setup in cpu_initialize & cpu_mp_startup. 2007-02-21 22:39:22 +00:00
ad
1296e8508f - Put detached & exiting threads on the tail of the deadqueue, not head.
- Don't forget to set PT_FLAG_DETACHED.
2007-02-21 22:31:38 +00:00
ad
dacd4bd9ca Minor optimisation to previous: only check for continued existence of
the thread if it was detached.
2007-02-21 22:25:57 +00:00
martin
77468bf668 Minor cosmetic changes and optimizations. 2007-02-21 22:14:24 +00:00
hubertf
9c23f96c50 Move ctype.h from headers to files which really need it
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:14:07 +00:00
mrg
46deb749ba document bus_dmatag_subregion(9) and bus_dmatag_destroy(9). 2007-02-21 21:13:01 +00:00
hubertf
ee68ca46c0 Remove unnecessary ctype.h from libexec/comsat/comsat.c file
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:06:26 +00:00
hubertf
b5f80fa241 Move ctype.h header from defs.h to main.c where it's really used
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:01:10 +00:00
hubertf
5873860993 - Removed unused ctype.h header
- ANSI'fy
  - Removed __P() macros

From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:57:55 +00:00
hubertf
e6603d3964 Remove unneeded ctype.h header
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:53:59 +00:00
hubertf
e730edb6a7 Be a good citizen and close files that are no longer used.
Also s/exit/return/;

Filedescriptor patch from Slava Semushin <slava.semushin@gmail.com>,
return-change and testing by me.
2007-02-21 20:45:27 +00:00
mrg
4410329b87 add a pair of new bus_dma(9) functions:
int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.
2007-02-21 20:41:23 +00:00
hubertf
4c60e998e1 pw_lock(3): ``You should finish writing to and close the file descriptor
returned by pw_lock() before calling pw_mkdb().'' While there, also
close another open file descriptor that's no longer used.

Patch from Slava Semushin <slava.semushin@gmail.com>, tested by me.
2007-02-21 20:32:10 +00:00
hubertf
f2799c52e5 <ctype.h> is unused. What's still needed is <sys/cdefs.h> (which is
usually included at that place anyways).

From Slava Semushin <slava.semushin@gmail.com>.
2007-02-21 20:15:17 +00:00
martin
e82df7e165 Get rid of unused (thus always zero) "curlwp" variable hidden in assembler
code (C code always uses a cpuinfo based macro).
2007-02-21 20:07:42 +00:00
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