Commit Graph

143559 Commits

Author SHA1 Message Date
christos 0213791d0c 1. Eliminate some unnecessary to kvm_{m,re}alloc.
2. Don't malloc/free procbase/procbase2/lwpbase continuously. Keep track
   of the size, and only do it if necessary.
3. Write a macro to malloc/realloc and set the size of members so that it
   is done correctly. Previous open coded version in kvm_file.c always
   set the length, which is incorrect.
4. Remove bogus check against INT_MAX.
5. use NULL to initialize pointers instead of 0.
2006-02-16 20:48:42 +00:00
perry fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00
agc ff442725b0 Update the default targets file to reflect the new syntax.
Don't try to be cute with magic values like "any" here, since the netmask
is probably more easily understood in "slash notation".
2006-02-16 19:30:57 +00:00
agc b37fe4757b Update the targets(5) manual page to reflect the new syntax. 2006-02-16 19:29:28 +00:00
tnozaki f87e6eb1f0 make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
agc ec095879d4 Introduce a backwards compatible change to the targets configuration
file.

The new file specifies whether targets should be presented as readonly
or read-write.

If a target is marked as read-only, don't allow any writes to be made
to it.

Also, add syntax recognition of "any" and "all" in the netmask recognition
code.
2006-02-16 19:19:38 +00:00
macallan 6fa7cdbb77 also check child nodes when checking if we attach to what OF thinks is the
console since some Radeons ( and probably others ) can have more than one
display - in this case /chosen and ofb's node would mismatch.
2006-02-16 18:48:38 +00:00
thorpej cb468f2eff Remove the ugly algor_get_ethaddr() hack. We have a properties infrastructure
now, so use that to provide the Ethernet address of the built-in Ethernet.
XXX Still a little ugly in the tlp driver, but fixing that would require
XXX reworking the SROM usage in a broader sense.

While here, do the P4032 DMA window hack in device_register() as well.
2006-02-16 18:20:31 +00:00
jmmv 772e1db686 Adapt to some name changes in the tmpfs_node structure (to fix the build
under vax with gcc 2.95).  Provided by he@.
2006-02-16 14:58:35 +00:00
jmmv 064fbe7e18 Do not use unnamed structures/unions without instances; they break the
build under vax because of gcc 2.95.  Found by he@.
2006-02-16 14:57:50 +00:00
kochi 516a28bc31 including acpi_madt.h is not necessary 2006-02-16 10:56:58 +00:00
he 91afe2706a Now that the libiberty config.h was made MD again, we need to instruct
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
kochi 8b4a469cbc including acpi_madt.h is not necessary 2006-02-16 10:28:01 +00:00
kochi 9fca0c53be define acpi_dbgr as static 2006-02-16 09:23:23 +00:00
kochi 7e7584688f define phys_wakeup as static 2006-02-16 09:22:51 +00:00
kochi fd13bfcc61 define acpi_intr_deferq as static 2006-02-16 09:22:16 +00:00
kochi dd74d9277b add some more Intel LPC controllers 2006-02-16 08:47:16 +00:00
kochi e94d605ca4 regen. 2006-02-16 08:39:27 +00:00
kochi 2bf87ae55f add two more ICH7-M LPC device ids from intel document
(Intel I/O Controller Hub 7 (ICH7) Family Specification Update)
2006-02-16 08:36:03 +00:00
kochi 92d51ace0f prototypes don't need argument names 2006-02-16 06:19:26 +00:00
kochi 539e1b8f22 use ACPI_FAILURE() macro instead of directly check AE_OK 2006-02-16 06:18:59 +00:00
mhitch dca4768842 Bad Jason! Fix interrupt event counter attach typo. Only the last interrupt
was getting an event counter, and none of the dec_6600 interrupts were
getting counted.
2006-02-16 04:48:50 +00:00
hubertf 6c1b4a6f6a Add text requested by term (b) of
localsrc/legal/TheOpenGroup/TOG_LICENSE
2006-02-16 03:15:02 +00:00
macallan 0d73c74b90 default to a black on white console, with green kernel output 2006-02-16 02:18:50 +00:00
macallan dfd5d19b24 bail out when trying to attach to something that's not the console.
Fixes problems with more than one graphics card. Since OF doesn't set up
any secondary graphics devices anyway we don't lose anything.
2006-02-16 02:15:29 +00:00
gdamore e5312db1b0 Reenable PCI on DBAU1500. May still be useful for PIO devices. Comments
in the config are left intact, though.
Add a PMAP-driven bus_space for access to upper memory, instead of using
wired entries.
Convert aupci to use said bus_space -- no measured performance impact.
2006-02-16 01:55:17 +00:00
gdamore 2d31c1c18a CPLD registers are 16-bits wide, not 32. 2006-02-16 01:52:57 +00:00
gdamore 982890b596 Add board reset logic. 2006-02-16 01:52:37 +00:00
gdamore 547601cc8e Remove useless extra assignment. 2006-02-16 01:50:19 +00:00
rpaulo 1a5af035b5 PR 32848: Nicolas Joly: typo 2006-02-16 01:08:09 +00:00
gavan 7600be39ae Compute the EEPROM checksum to determine the presence of valid EEPROM data.
If EEPROM data is invalid, allow a MD hook to supply EEPROM data instead.
2006-02-16 00:02:00 +00:00
dsl 4975ba94fa Add some more .MAKE so that we don't run multiple parallel makes. 2006-02-15 21:59:08 +00:00
bouyer 5cd3d133bf Use the class of the user, not then default class, when checking for
nologin and ignorelogin login.conf(5) capabilities.
2006-02-15 20:28:32 +00:00
tnozaki 1b24b76f6b MB_CUR_MAX should be 2 when MODE_2BYTE flag set. 2006-02-15 19:50:27 +00:00
tnozaki 71d1b0a7b1 CP936/GBK mapping table incomplete. 2006-02-15 19:33:06 +00:00
christos 2d51080a2d Do not attempt to generate moduli from moduli.c using the shuttle
suffix rule.  This can happen if moduli.c is newer than moduli.
Reported by Hisashi T Fujinaka.
2006-02-15 15:51:37 +00:00
manu 5e9b532be2 Add getcwd (for real this time), fix dup and dup2 2006-02-15 15:23:18 +00:00
yamt 9040ed946b - amap_copy: take a "flags" argument instead of booleans.
- add AMAP_COPY_NOMERGE flag, and use it for uvm_map_extract.
  PR/32806 from Julio M. Merino Vidal.
2006-02-15 14:06:45 +00:00
agc 14ba470694 when looking for the target name supplied by the initiator during full-phase
login, break out of the loop immediately a match is found.

only syslog information if it's available
2006-02-15 10:29:18 +00:00
manu f806470fb3 - Move the BSD to Linux and Linux to BSD termio/termios conversion functions
to a header where they can be shared between COMPAT_LINUX and COMPAT_LINUX32
- Add termios ioctl emulation to COMPAT_LINUX32
- Add the getcwd system call to COMPAT_LINUX32/amd64

That makes Linux's bash working with COMPAT_LINUX32.
2006-02-15 09:31:17 +00:00
uwe c1da9d59ec Fix quoting for (commented out) KGDB_DEVNAME examples. 2006-02-15 01:16:19 +00:00
dyoung 08a8550184 Add 'man' property to ./usr/share/doc/groff/mom/*.ps, so we get
correct set-lists if MKMAN=no.
2006-02-14 23:44:51 +00:00
dyoung efce638a8b Do not build .ps files if MKMAN=no, because nbgroff is not available. 2006-02-14 23:37:39 +00:00
rpaulo 1152ca51d5 From FreeBSD:
In ipcomp6_input(), check 'md' not 'm' after a call to m_pulldown(): 'm'
    may be a stale pointer at this point, and we're interested in whether or
    not m_pulldown() failed.

    Noticed by:     Coverity Prevent analysis tool
2006-02-14 21:43:02 +00:00
he 6ecd57a7f6 Bump the miniroot size from 16m to 17m so that the contents fits again. 2006-02-14 21:27:52 +00:00
agc c963d486fc Present multiple targets properly 2006-02-14 20:08:37 +00:00
he 96a64d8503 Um, libiscsi_pic.a has no business being here (it's in comp/shl.mi
where it belongs, and where non-PIC platforms don't pick it up).
It looks like this was a cut+paste accident (tagged with "profile",
which would be libscsi_p.a).
2006-02-14 19:07:30 +00:00
tsarna 55551a76e2 Add postinstall item for the rwhod de-preivledging.
Check and correct permissions on /var/rwho files so rwhod
will be able to update them.
2006-02-14 17:14:21 +00:00
bjh21 c92781b8e2 Don't access an LWP's struct lwp after we've called lwp_exit2() on it.
I'm not sure the new code is right, but it works, which is an improvement.
2006-02-14 16:41:21 +00:00
macallan b16c42a99d bzero() -> memset() 2006-02-14 16:02:00 +00:00