Commit Graph

68546 Commits

Author SHA1 Message Date
ad e4cbd13089 Regen. 2003-12-09 18:58:49 +00:00
ad 237307078f Add second ID for Intel i960 RM. 2003-12-09 18:58:16 +00:00
he 9d5ca63b31 Bump SYMTAB_SPACE so that the symbol table fits again. 2003-12-09 18:00:22 +00:00
manu 10f0bf745b Fix various broken sanity checks in iokit emulation.
Add some methods to IOFramebuffer (DARWIN_IOFBSETBOUNDS,
DARWIN_IOFBSETCURSORVISIBLE) and to IOHIDSystem (DARWIN_IOHIDPOSTEVENT),
all are unimplemented empty shells.
2003-12-09 17:13:18 +00:00
manu 98c34875d4 In mach_msg_error, don't display error message when the error
is 0 (no error). This function is often used as a shortcut to
return a short message with retval = 0.

Add error codes to the debug display
2003-12-09 17:10:02 +00:00
jmc 2608098ab2 Wrap sys root'd includes with #ifdef KERNEL so this will compile for things
including machine/cpu.h (which includes this)
2003-12-09 15:47:17 +00:00
jmc 9a398a5661 Make libsa build first as other items depend on it (for -j builds) 2003-12-09 15:46:01 +00:00
pooka 34f5b5e378 The highest 16 bits of chipid identify the ASIC, so print only them. 2003-12-09 15:19:33 +00:00
ad e296f9bf6e Catch break for cn_check_magic() and remove the pmax-specific hack. 2003-12-09 14:30:55 +00:00
manu b50934fc19 Move exception related code to a dedicated file 2003-12-09 12:13:44 +00:00
manu 99ee466dbb Move most of the code involved into message header, trailer, and descriptor
construction to inline functions. This removes a lot of redundent code
from Mach services
2003-12-09 11:29:01 +00:00
simonb 8b18b565b8 Make some comments line up. 2003-12-09 09:49:01 +00:00
matt 031990a547 Make sure to include <bsd.own.mk> to pick up the definition of HAVE_GCC3 2003-12-09 04:54:54 +00:00
atatat 38f213672c Make kern.sbmax writeable again as well.
From a follow-on to PR kern/23695 by a Mr. Davis, which I missed at a
quick glance.
2003-12-09 01:52:07 +00:00
atatat a5d6d5ebfd Make kern.logsigexit writeable again.
Fixes PR kern/23695.
2003-12-09 01:25:33 +00:00
christos 9c81f1b787 make this compile again. 2003-12-09 00:48:54 +00:00
manu 98f233296d Factor the code for OOL data movement into mach_ool_copyin and
mach_ool_copyout.

Handle port namespace and address space translations when OOL
data moves between different processes (untested)
2003-12-08 19:27:38 +00:00
christos 5c9b8df403 remove error(1) comment. 2003-12-08 17:51:53 +00:00
pooka 3c0925818d Match 5703 ASIC A3.
Also, when printing the ASIC ID, print the revision in hex in all
cases to avoid extra confusion if only the "superclass" of the ASIC
is recognized.
2003-12-08 17:09:39 +00:00
pooka a17096b1a3 regen for broadcom 5703a3 2003-12-08 17:05:27 +00:00
pooka 9747421fda Broadcom 5703 A3 2003-12-08 17:00:48 +00:00
scw 6e97fad006 Set up a temporary 1MB mapping to cover the SDRAM controller's registers. 2003-12-08 16:15:31 +00:00
scw 2107fae815 Scoot the SDRAM controller's mapping forward to the next 1MB boundary
so it can be mapped easily at startup.
2003-12-08 16:14:16 +00:00
chs 6ca2b78b74 enable com console. 2003-12-08 14:59:26 +00:00
scw ec226f1150 Don't hard-code SDRAM size. Let ixp425_sdram_size() figure it out
at runtime.
2003-12-08 14:44:03 +00:00
scw 40db825e26 Add support for picking up the size of SDRAM by reading the memory
controller's config register.
2003-12-08 14:41:11 +00:00
hannken 37efcf9045 Fix the last commit(s). On machines with sizeof(long) != sizeof(int)
the hash compare would fail.
2003-12-08 14:23:33 +00:00
hannken 10654a5c0a Fix last commit. The current spl was an implicit argument to the ACQUIRE
macro.  With help and approval from YAMAMOTO Takashi <yamt@netbsd.org>
2003-12-08 14:21:25 +00:00
scw c2415a0dc3 Oops, map PCI memory space at VA 0xf8000000 instead of in the middle
of user VM space at 0x48000000.
2003-12-08 13:40:33 +00:00
manu 9046478856 Use appropriate macro definitions when filling complex messages
descriptor. This changes nothing but it removes a lot of XXX
2003-12-08 12:03:16 +00:00
manu df54a7fcc7 When handling complex messages, uses mach_msg_type_descriptor_t until we
know what type a descriptor really is.
2003-12-08 12:02:24 +00:00
scw 0695d77aa5 Regen 2003-12-08 11:07:27 +00:00
scw 5379b99913 Add an entry for Intersil's Prism-54 (ISL3890) WLAN mini-PCI card. 2003-12-08 11:06:36 +00:00
matt 48b7ea2255 Strings (even ifdef'ed out) can't run past the end of the line. Use
ANSI string concatenation.
2003-12-08 09:29:30 +00:00
matt 840a2d6df7 Make -mno-asm-pic dependend on HAVE_GCC3 == no 2003-12-08 09:28:36 +00:00
jdolecek f76cf6a9ea need cast to (long long) for %llx format when compiling 64bit kernel 2003-12-08 08:08:40 +00:00
matt 52f58bd42a Suppress a gcc3 type-punning warning. 2003-12-08 07:33:12 +00:00
matt 31ba84cb6a Move common CFLAGS/AFLAGS to Makefile.inc.
For now, only suppy -mno-asm-pic when not using gcc3.
2003-12-08 07:32:19 +00:00
dyoung 1131c0f5f6 Forget the tcpdump $Header$. 2003-12-08 04:48:58 +00:00
jonathan 626b230d59 Add new field ipq_nfrags to struct ipq. Maintain count of fragments
(fragments, not fragmented packets) in each queue entry.
Use ipq_nfrags to maintain a count of total fragments in reassembly queue.
2003-12-08 02:23:27 +00:00
petrov 20dfeedb2e Remove prototypes of non-existant functions, ansify and knf. 2003-12-08 00:52:48 +00:00
manu 4e9539e452 When a task to task message carries ports, translate the port names into the
receiver namespace.

While we are there, refactor mach_msg_overwrite by splitting it into
several smaller functions. It had grown too big to be easily maintainable.
2003-12-07 23:44:14 +00:00
mrg a777988c2a ofwboot.net is gone. from hannken@ 2003-12-07 23:16:03 +00:00
fvdl b916f59963 Unix semantics dictate that access checks for files are done when it
is opened. An open file can always be read from and/or written to,
depending on how it was opened.

Therefore, the read/write/commit RPCs should never return EACCESS,
as they are only performed on files that have been successfully opened
already.

This change improves the current situation and works in most cases.
It simply always uses the most recently known owner/group of the file,
iff the authentication mechanism is AUTH_UNIX (in other cases, the
creds for a succesful open are used, but note that no other cases
are currently implemented).

A retry mechanism can be used to catch a few more cases, but this is
a good improvement for now.
2003-12-07 21:15:46 +00:00
is 3419480b86 2nd half of new wdc register mapping 2003-12-07 20:59:00 +00:00
dsl b31c4f649a Fix speling mistake in commennt. 2003-12-07 20:11:11 +00:00
is f15cf5f5b3 adapt to the new world of wdc register mappings 2003-12-07 20:05:03 +00:00
scw f8506c0dbb Ditch some cruft which crept in with the last commit. 2003-12-07 20:03:47 +00:00
scw 081b7696ba Simplify the round/trunc page, and btop/ptob macroes. 2003-12-07 20:03:04 +00:00
scw c70112f9ae Quell a bunch of compiler warnings by avoiding using 'long long'. 2003-12-07 20:01:58 +00:00