Commit Graph

110024 Commits

Author SHA1 Message Date
matt 640bee3010 Reduce visible globals. (gt_handle is now gt_memh and is only known to
machdep.c, gt_mainbus.c, and extintr.c)
2003-03-15 19:51:48 +00:00
matt 101a152db1 This contains no marvell specific code now. It now completely hides the
underlying PCI MD implementation.  XXX want to move this to
powerpc/include/ someday.
2003-03-15 19:50:31 +00:00
jmmv d69e6401db Note the DDB_ONPANIC option (commented out). Closes my own PR port-i386/17649. 2003-03-15 19:34:16 +00:00
wiz 49e9f32df4 source, not sourse. From Igor Sobrado in PR 20721. 2003-03-15 19:29:11 +00:00
wiz 628f423c52 IPv4, not IPV4. From Igor Sobrado in PR 20718. 2003-03-15 19:27:17 +00:00
wiz c9ac698957 IPv4, not IPV4. 2003-03-15 19:26:42 +00:00
wiz 37a402fc28 IPv4/IPv6, not IPV4/IPV6. 2003-03-15 19:26:08 +00:00
wiz 46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
wiz 839680dfba Correct spelling of "overridden". From PR 20718 by Igor Sobrado. 2003-03-15 19:22:16 +00:00
wiz 5606e5cc70 Correct spelling of "specification". From PR 20717 by Igor Sobrado. 2003-03-15 19:18:41 +00:00
wiz a6bd266319 Correct spelling of "preferred". From PR 20716 by Igor Sobrado. 2003-03-15 19:15:58 +00:00
thorpej c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00
hannken 1ef5d39c1a Add -mstrict-align to the CC1 default options.
At least the 403 ports cannot handle unaligned access.

Discussed with Jason Thorpe and Matt Thomas.
2003-03-15 16:09:34 +00:00
hannken 94a50cb223 Make it work on cpus with cachelinesize < 32.
Tested on macppc by Markus W Kilbinger.
2003-03-15 14:10:21 +00:00
darcy 48e2f3947b The pkg_add examples assume sh(1). Adding text to mention csh(1) syntax.
Closes PR install/14797.
2003-03-15 12:46:49 +00:00
fvdl e4189529ce No need to use movq for the small immediate values here, they'll be
zero-extended with movl.
2003-03-15 12:34:33 +00:00
wiz fe8e96c537 Add atc_score in place of atc_scores; completes solution of PR 20709. 2003-03-15 12:33:55 +00:00
bouyer 3cb1252a05 Ops, I commited the previous change (improved SiS support) from thr wrong tree.
Sync with the latest diff I made available, and also include changes from
kern/20710 which is much better than the hack I've done.
2003-03-15 12:23:34 +00:00
jdolecek 2a74d10407 atc uses /var/games/atc_score, not atc_scores
Problem pointed out and fix supplied in PR install/20709 by Kazuhito Tsuburaya
2003-03-15 08:44:16 +00:00
matt a0b2076415 New generic powerpc bus_space framework. 2003-03-15 08:03:19 +00:00
matt e2765c0933 Allow a machine-dependent definition of schednetisr. 2003-03-15 07:51:06 +00:00
matt 0f1794e44a Make lint happy and use __asm && __volatile.
manipulate netisr via lwarx/stwcx. to get atomicity.
2003-03-15 07:50:28 +00:00
matt 7ad3fe6e03 When mapping a page with BUS_SPACE_NOCACHE, make sure to flush the
physical page from the data cache.
2003-03-15 07:25:20 +00:00
perseant 1d23f2f4ea Add write-behind to lfs_write(). 2003-03-15 07:24:37 +00:00
matt 35962f72c9 s;backside;; and report L2CR_L2DO & L2CR_L2IO 2003-03-15 07:22:46 +00:00
matt 2b8417e488 Add LINTSTUBs and make oea_init() agree with them. 2003-03-15 07:21:02 +00:00
perseant b105ddb1d6 Make LFS LKM versions of ufs_makeinode and ufs_mkdir fail correctly.
Note dependency of lfs_vnops.o on ufs_readwrite.c.
2003-03-15 07:20:22 +00:00
matt df24bda908 Make lint happy. 2003-03-15 07:19:20 +00:00
perseant ea03a1ac09 Add simple_lock protection for lfs_seglock and lfs_subsys_pages; these will
be expanded to cover other per-fs and subsystem-wide data as well.

Fix a case of IN_MODIFIED being set without updating lfs_uinodes, resulting
in a "lfs_uinodes < 0" panic.

Fix a deadlock in lfs_putpages arising from the need to busy all pages in a
block; unbusy any that had already been busied before starting over.
2003-03-15 06:58:49 +00:00
christos 8b16d6d256 PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation 2003-03-15 04:51:13 +00:00
christos be6d6ca02b PR/18984: John Heasley: telnet spins on dead tty 2003-03-15 04:48:22 +00:00
christos 1131a3ec35 PR/17399: John Heasley: describe filter error codes and lock file modes. 2003-03-15 04:45:52 +00:00
christos 75fdb547df PR/13242: John Heasley: ENOTDIR is not fatal 2003-03-15 04:41:17 +00:00
kristerw 3a7b34238b The implementation of the try/catch functionality uses two gcc extensions
that our lint does not understand.

One of these extensions (local labels) is needed only when using multiple
try/catch blocks within a function, and the comment before these macros
say that they should be used only once per function so that the implementaton
may be portable.

The other extension (taking the address of a label) is not needed at all.

Remove the use of the extensions.
2003-03-15 02:54:24 +00:00
kristerw ea98786439 SO C requires a statement after a label. 2003-03-15 02:27:18 +00:00
kristerw 708df50a74 'lint' is a very bad name for a variable. 2003-03-15 02:22:13 +00:00
mbw a382fbca7f D'oh -- PowerComputing PowerBase models are actually Open Firmware 2.0. 2003-03-15 02:16:02 +00:00
kristerw 6c096545e5 ISO C requires a statement after a label. 2003-03-15 02:11:43 +00:00
kristerw f73d0d2d8c ffs_gop_alloc() is not used any more. Remove it.
OK:ed by Konrad Schroder.
2003-03-15 01:10:18 +00:00
enami 464f962310 Release the hash lock on failure. 2003-03-15 00:22:47 +00:00
thorpej d9cf1a068e Second half of fix for PR toolchain/19265.
2003-03-14  Jason Thorpe  <thorpej@wasabisystems.com>

	* c-decl.c (flag_hosted): Move from here...
	* toplev.c: ...to here.
	* c-tree.h (flag_hosted): Move extern declaration from here...
	* flags.h: ...to here.
	* config/alpha/alpha.c (alpha_initialize_trampoline): Only
	emit a call to __enable_execute_stack if flag_hosted is true.
	* config/i386/i386.c (x86_initialize_trampoline): Likewise.
	* config/sparc/sparc.c (sparc_initialize_trampoline)
	(sparc64_initialize_trampoline): Likewise.

An updated version of this will be submitted to gcc.gnu.org.
2003-03-14 23:48:00 +00:00
lukem d8108972ba add dependency on sigdesc.h to commands.c 2003-03-14 22:56:14 +00:00
bouyer 53a7926962 Rework SiS support: more controller supported (up to Ultra/133) and better
support for the older ones.
Information for this work extracted from Soeren Schmidt's FreeBSD driver.
2003-03-14 22:46:05 +00:00
nathanw a25b9285d9 Add a wrapper for the execve() system call that arranges for the current
thread sigal mask to be propagated into the new process image.
2003-03-14 22:27:34 +00:00
nathanw 022a762c83 Make execve a weak syscall. 2003-03-14 22:26:13 +00:00
bouyer 8bc89ec2cb Move the SCSI_DELAY before the serialization for probe. multiple SCSI busses
can sleep, only probes have to be keept ordered.
2003-03-14 22:17:14 +00:00
jdolecek 635035691e apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX PHY,
so make driver match it
while here, also make the driver match 'Intel PRO/100 VM with
  82562EM/EX (CNR) PHY', with anticipation it would work fine too
activate the resume and dynamic standby bug workaround for these; might
  not be necessary (not confirmed to be needed), but better safe than sorry

Adresses PR kern/20689
2003-03-14 22:04:03 +00:00
christos c2b5bf99ef PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
dsl a8a18df708 cpu times were miscalculated because 'usecs' could go -ve...
There is still a problem that 'st = (u * st) / tot;' can overflow,
but that is harder to fix, and requires cpu times of ~5days.
(approved by christos)
2003-03-14 21:38:26 +00:00
thorpej feff2fbbe6 Add support for the %j format length modifier (intmax_t). We have to
add intmax_type_node and uintmax_type_node globals to support this.
2003-03-14 21:24:44 +00:00