Commit Graph

182586 Commits

Author SHA1 Message Date
yamt e4ef86317e _uvm_map_sanity: fix a race which causes "stale hint". 2009-08-01 15:30:33 +00:00
mbalmer eb1d43028b Sort SYNOPSIS, add gpio* at gpiosim?. 2009-08-01 13:17:30 +00:00
mbalmer b0979f1866 Simplify example. 2009-08-01 13:14:40 +00:00
kiyohara 9cac6fe270 Support run-time configuration for PXA25x and PXA27x. 2009-08-01 10:33:58 +00:00
bouyer 9bbfba8140 Add missing mutex_destroy() before pool_cache_put(). Prevents a
"Mutex error: lockdebug_alloc: already initialized" panic.
2009-08-01 09:08:53 +00:00
tsutsui aea4cb8993 Micro optimization around ncr53c9x register accesses. 2009-08-01 08:20:36 +00:00
pooka 7ec7a51957 Don't free extattr resources until it is certain that unmount
succeeds.  Also, "unmount system call" -> "unmount vfs operation"
in comment just so that our comments aren't 15+ years outdated.
2009-07-31 20:58:50 +00:00
dsl 8190cfe5fa Don't remove imaxdiv.c 2009-07-31 20:54:35 +00:00
bouyer 7693ded053 Disable completely bogus DIAGNOSTIC check. 2009-07-31 20:47:25 +00:00
dsl 10ad5ffa71 Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
2009-07-31 20:39:59 +00:00
pooka 288dd7d670 Get rid of dependency on M_UFSMNT. Since we need storage only for
one pointer, simply hang that off of mnt_data instead of allocating
storage.
2009-07-31 19:47:47 +00:00
pooka 3e3523f9c8 add commented-out rump_fdesc along with an explanation 2009-07-31 19:21:55 +00:00
pooka ad25a49dbe rump_fdesc. it works, but it's actually not very sexy out of
developer clothes, since the server cannot fetch the fd information
from the kernel.  Therefore, don't build it by default.
2009-07-31 19:18:46 +00:00
pooka 9d98904e35 add fdesc fs rump lib
(don't descend in here by default, I don't want to deal with the
setlist pain for now)
2009-07-31 19:16:45 +00:00
pooka 2ebc149961 Do a name-based search for the ctty major instead of requiring an
external symbol.
2009-07-31 18:50:58 +00:00
pooka af1b79236a Instead of reporting some random "files used/free" figures for the
process doing statvfs(!), just report 0.  The code had some kernel
panicking bug after the descriptor code update, the functionality
is more like a bunny rabbit hat than anything useful, and I can't
bother to figure out what the invariants in the new descriptor code
are.

fixes PR kern/41534 and kern/41786
2009-07-31 18:44:58 +00:00
tsutsui 6e74d97975 Read AD_CFG_SWITCH via volatile pointer so that
the default density is detected correctly.
2009-07-31 15:55:10 +00:00
pooka 181bef7d2d convert to parseargs form 2009-07-31 14:58:21 +00:00
pooka 746d1fce34 Shortcircuit -o getargs in userspace. We know the kernel driver
will not return any data and mount(2) fails with EINVAL if data_len
is 0.  This caused lame-o output in mount -vv:
mount_fdesc: fdesc on /failsystem: Invalid argument
2009-07-31 14:56:11 +00:00
dsl 027bacee22 Use a 'register only' str[c]spn() on 64 bit systems. 2009-07-30 21:42:06 +00:00
dsl f0a25cf095 Stop bcopy.c and bzero.c being compiled 2009-07-30 21:26:36 +00:00
dsl 0d34d14bb9 If SRCS contains any .S files then remove the corresponding .c file from
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
2009-07-30 20:57:15 +00:00
skrll 19e6624025 typo in comment. 2009-07-30 19:57:07 +00:00
dyoung 59b8f11a8b Fix typo in comment, s/SIOCSIFADDR/SIOCINITIFADDR/. 2009-07-30 17:28:36 +00:00
tsutsui c3ee8e5613 - use program header rather than section header to find file offset for vmaddr
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30 15:56:01 +00:00
tsutsui fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
jakllsch 7d100c1859 As explained in kern/41701 there's a missing splx() here. 2009-07-30 14:41:59 +00:00
cegger bd216fbaba from x86/x86/cpu.c:
- use atomic operations to set flags
- Align struct cpu_info to 64b.
2009-07-30 13:56:57 +00:00
reinoud 7cbe9b45a2 Fix uid/gid check; it was checking if the old values would fit in 32 bits
instead of checking if the new values would.
2009-07-30 12:13:51 +00:00
nisimura 8a349980ce - fix EUMB com console attach case.
- #ifdef out pci_conf_interrupt() for PCI_NETBSD_CONFIGURE option.
Requested and tested by kiyohara.
2009-07-30 05:57:27 +00:00
spz 5ef5d44599 list the partition types addwedge understands, so you don't need to utsl
to find out what strings to use here
fixes PR 37252
2009-07-30 05:54:43 +00:00
macallan 4865392ba6 do as elad suggested and call kauth instead of using INSECURE in pcimmap() 2009-07-30 04:38:24 +00:00
msaitoh 0a482c2c7c Fix the bug that another lock mechanism is used to access Kumeran registers
on i80003 and ICHs.

Fix yet another i80003 ONLY workaround. The code to modifing TIPG register
is only for i80003.

Set the Re-Transmit on Late Collision(RTLC) flag for all devices.

Fix a typo in a printf message.
2009-07-30 03:46:48 +00:00
hubertf 270beabd82 Add "MAC" keyword to the corresponding example. 2009-07-29 21:47:11 +00:00
rmind cbc808fd9c Reduce the difference between i386 and amd64 trap handler.
No functional changes intended.
2009-07-29 18:47:15 +00:00
rmind 585d607d92 Fix few more l_pflag and LP_OWEUPC confusions. 2009-07-29 17:45:39 +00:00
rmind 52b85c5fb7 Fix KASSERT(1); 2009-07-29 17:16:56 +00:00
rmind 4992872919 T_ASTFLT|T_USER: check for LP_OWEUPC in l_lpflag, not l_flag. Also, flag
unset was on p->p_flag.  Luckily, it did not corrupt the p_flag, because
we don't have LW_ flag matching LP_OWEUPC.
2009-07-29 17:14:38 +00:00
reinoud dde01096c4 Re-do nilfs_load_super_root() and implement crc checking of read in super root
to check for consistency.

Since a new crc-seed is chosen on each new nilfs formatting, older structures
will fail the crc check.
2009-07-29 17:06:57 +00:00
jakllsch aadbdc69dd Without UQ_ASSUME_CM_OVER_DATA, the PANTECH UM175 has a
non-working bulk-in endpoint
2009-07-29 16:04:14 +00:00
jakllsch 14641e0bcc Regenerate. 2009-07-29 15:47:26 +00:00
jakllsch c5b6c26047 Add entries for some Hyundai CuriTel (Audiovox, Pantech) products, from OpenBSD. 2009-07-29 15:45:17 +00:00
cegger 82843fbf43 nuke unused XEN3 option. The XEN option is sufficient now. 2009-07-29 13:37:57 +00:00
reinoud 59cef39273 Add debugging text to indicate a super root has been found while searching for
it.
2009-07-29 13:23:23 +00:00
cegger c8f9ab7943 NetBSD/Xen no longer supports Xen2 2009-07-29 12:04:14 +00:00
cegger 3518084fc6 remove Xen2 support.
ok bouyer@
2009-07-29 12:02:05 +00:00
mbalmer 071fb1f425 Fix (commented out) gpioow usage. 2009-07-29 11:58:31 +00:00
mbalmer 8bd20bf764 Add commented out entries for gpiosim and gpio at gpiosim. 2009-07-29 11:55:40 +00:00
mbalmer 3c801a163f Add pseudo-device gpiosim, fix gpioow usage. 2009-07-29 11:52:44 +00:00
christos a24ab0f5cc elide type punned warning 2009-07-28 21:51:30 +00:00