Commit Graph

108659 Commits

Author SHA1 Message Date
he
259fba4dde Correct the file name of this file. 2003-02-15 11:14:46 +00:00
rearnsha
66b1593cdb * arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.* arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.
2003-02-15 10:07:16 +00:00
tron
d79f15801a The manual page "scanpci" is only include in XFree86 4.x. 2003-02-15 09:05:52 +00:00
briggs
0ba0225830 Initialize the framebuffer BAT with BAT_G, too. This marks the region
as (G)uarded, protecting it from the processor being too aggressive in
reordering and prefetching.  This allows OFB_ENABLE_CACHE to work on my
Powerbook G4.

Thanks to matt@ for suggesting this fix.  "It's the right thing to do."
2003-02-15 05:07:57 +00:00
nathanw
ca0eaa6f66 Remove unused #include <assert.h> 2003-02-15 04:39:16 +00:00
nathanw
6adb81d685 Move debug toggle to pthread_debug.h. 2003-02-15 04:38:58 +00:00
nathanw
de9d8cde2a Remove debug toggle and add debug counter for signals and broadcasts
that actually wake another thread up.
2003-02-15 04:38:33 +00:00
nathanw
53827081be Adapt to pthread__assert() and remove local debug toggle. 2003-02-15 04:37:04 +00:00
nathanw
8bcff70bb0 Define a pthread-specific assert function, pthread__assert(), that
bails out without trying to flush stdio buffers.
2003-02-15 04:34:40 +00:00
nathanw
e0ae1bd1b7 Move module-specific debugging definitions here. 2003-02-15 04:33:45 +00:00
itohy
b1f5bd8e4f constify command buffer 2003-02-15 02:36:52 +00:00
tsutsui
9dc8f99b73 Add prototypes for ZS_TXDMA functions.
XXX Maybe we should have DMA hooks in MI z8530tty.
2003-02-15 02:28:22 +00:00
lukem
dc45690a3d Terminate (with extreme prejudice) any rules which detect if files
such as Makefile.in are ``out of date'' and ``helpfully'' attempt to
update them with autoconf, autoheader, or automake.
Fixes some toolchain PRs, and my sanity.
2003-02-15 02:25:56 +00:00
nathanw
515d60d00c Remove unnecessary inclusion of <assert.h>. 2003-02-15 00:52:18 +00:00
perseant
6b857c229e Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
2003-02-15 00:46:30 +00:00
pk
baa98646a0 It's not necessary to complicate the computation of `va2pa_offset': we already
assume that the few leading pages in front of the kernel image are
always present.

Adjust `va2pa_offset' on sun4 and sun4c as well, so that some day we can
have the bootstrap program load the kernel some place else.
2003-02-14 22:24:58 +00:00
pk
9ca040e74e Make the memory allocation code MP-safe. 2003-02-14 21:51:36 +00:00
pk
9a853301e6 Use a mutex to protect the global list of open files. 2003-02-14 21:50:10 +00:00
pk
87978ebf11 Make cache insertion, removal and lookup MP-safe. 2003-02-14 21:39:46 +00:00
nathanw
49f53e20ea Make sa_yieldcall also allocate a new LWP for the cache if it's empty.
(XXX sa_yieldcall() and sa_switchcall() should be combined and take
arg as the function to call, but I'm somewhat nervous about void *
vs. void (*)()).
2003-02-14 20:45:12 +00:00
thorpej
22475c164d __'ify MACHINE_ARCH names. 2003-02-14 18:29:05 +00:00
drochner
36e90ce9e3 fix typo in comment 2003-02-14 18:25:34 +00:00
grant
104b35fe93 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:29:11 +00:00
atatat
a57bcda26a Rework the way in which the map is traversed when dumping core. Now
we read-lock the map and call uvm_map_lookup_entry() instead of simply
walking from the header to the next and to the next, etc.

Dumping from sparsely populated amaps could cause faults that would
result in amaps being split, which (in turn) resulted in the core
dumping routines dumping some regions of memory twice.  This makes the
core file too large, the headers not match, gdb not work properly,
and so on.

Addresses PR 19260.
2003-02-14 16:25:12 +00:00
grant
c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
grant
a15c6f031f 'NetBSD.org' 2003-02-14 16:17:30 +00:00
grant
806593a806 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 16:11:34 +00:00
rjs
ce385ae9b3 Add CPU IDs for PXA B2 and C0 steppings. 2003-02-14 16:00:33 +00:00
grant
2ceb845887 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:59:16 +00:00
grant
7dc9239d40 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:20:17 +00:00
bouyer
234e340664 Remove bug section, we now support group quotas. 2003-02-14 14:58:42 +00:00
bouyer
3f0c6192ac Also register rquota version 2. 2003-02-14 14:56:45 +00:00
bouyer
a39a98c45d Implement rquota RPC version 2, compatible with the linux implementation,
as proposed on tech-userlevel on Dec 06 2002. This allows to retrieve
group quota informations from NFS servers.
2003-02-14 14:55:58 +00:00
sommerfeld
0e75a48f8a Add TNF copyright notice accidentally omitted from initial commit. 2003-02-14 14:52:29 +00:00
dsl
673612c6a0 Use correct segment register in getmementry 2003-02-14 14:39:24 +00:00
dsl
e99cdd839c Defines for modified kern_exit.c 2003-02-14 14:27:24 +00:00
jdolecek
1b76f8f55f One more ServerWorks host bridge, seen on Dell PowerEdge server
fix provided in PR port-i386/20333 by Sverre Froyen
2003-02-14 14:26:51 +00:00
pk
d2b7e43b18 On pipe reads, check for EOF before FNONBLOCK to avoid spurious EAGAIN errors. 2003-02-14 13:16:44 +00:00
tshiozak
e077f7a7d9 - add acpi_acquire_global_lock()/acpi_release_global_lock()/
acpi_is_global_locked() functions.
  AcpiGlobalLock() API should be used to acquire lock between BIOS and OS.
  This API cannot be used to lock between threads of the OS side,
  because this function immediately returns if the lock is already acquired
  by the OS.  c.f. AcpiEvAcquireGlobalLock()@evmisc.c

- make sure that acpiec driver uses above functions.

- use ACPI_ALLOCATE_BUFFER instead of twice calls of AcpiEvaluateObject(),
  in acpi_eval_string()/acpi_eval_struct().
  Twice AcpiEvaluateObject() calls may cause twice side effects
  to ACPI machine / hardware and this may be wrong in some cases.
2003-02-14 11:05:39 +00:00
dsl
71d53fb2ed Use find_stopped_child() and proc_free() in compat wait() code to
avoid code duplication.
(approved by christos)
2003-02-14 10:19:14 +00:00
dsl
db17a870e0 Split sys_wait4 so that code isn't duplicated in compat tree.
(approved by christos)
2003-02-14 10:11:56 +00:00
wiz
cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
gmcgarry
136892b8b8 Handle 64-bit daddr_t. 2003-02-14 06:55:17 +00:00
tshiozak
4e7944a9b0 use IPL_SCHED instead of IPL_HIGH to establish interrupt for ACPI;
Calling wakeup() from a intr handler established with IPL_HIGH may causes
run/sleep queue to confuse because SCHED_LOCK() uses splsched().
2003-02-14 05:38:39 +00:00
matt
5bcfb63de7 Add PSL_PM 2003-02-14 04:45:32 +00:00
petrov
2bb9ea7350 strcmp needs string.h. 2003-02-14 04:03:27 +00:00
itohy
850cd09532 - Change __cpu_simple_lock_t from int to unsigned char.
This makes simple lock work on big-endian platforms.
- Assembly-level optimization of __cpu_simple_lock_try().

OK'd by Gregory McGarry.  Closes PR port-sh3/20311.
2003-02-14 03:02:41 +00:00
perry
3f573e45ce Instead of spinning, __asm __volatile("hlt"). 2003-02-14 01:11:21 +00:00
perry
996ded7b6d Note that cngetc returns 0 if there is no console input device. 2003-02-14 01:05:22 +00:00
grant
d2af5da2ad use pas-as-tar to extract sets rather than pax-as-pax, and pass
-e arg to abort after first error.

This means the extract process doesn't spew seemingly-endless
"No space left on device" if the destination partition fills.
2003-02-14 00:17:56 +00:00