116695 Commits

Author SHA1 Message Date
rkujawa
a48b4338aa Forgot do add X-Surf IDE config. 2012-11-19 23:43:08 +00:00
rkujawa
62a8ce31f0 Regen configs. 2012-11-19 22:40:24 +00:00
rkujawa
8bb4c6efd3 Add (commented out for now) driver for X-Surf IDE. 2012-11-19 22:39:47 +00:00
rkujawa
4daf233dc0 Add X-Surf IDE driver. 2012-11-19 22:36:11 +00:00
rkujawa
6c20ab8ade Add support for byteswapping of bsr2/bsw2. Needed for X-Surf IDE (incoming). 2012-11-19 22:32:48 +00:00
rkujawa
b53ade0bc2 Introduce WDC_CAPABILITY_NO_AUXCTL flag. For lame controllers that don't
have aux control registers (driver coming soon).
2012-11-19 22:22:56 +00:00
sjg
756a23da8b filemon_pid_check:
Avoid recursion, and hold a reader lock on p_reflock while we
check for filemon, and until we have p_pptr.

filemon_ioctl:
Do not allow FILEMON_SET_PID unless caller would be allowed
to ptrace the target pid.

filemon_wrapper_deinstall:
Do not touch syscalls if they no longer point to us, return EBUSY.

filemon_unload:
return EBUSY if filemon_wrapper_deinstall() fails.
2012-11-19 22:20:10 +00:00
martin
daab85cca7 Use copyout to copy data from kernel out to userland!
Fixes PR kern/47217.
2012-11-19 15:01:17 +00:00
jakllsch
762844de5e snprintb EXT2F_ROCOMPAT_SPARSESUPER as such. 2012-11-19 03:04:23 +00:00
jakllsch
59134e0eef - Add e2di_version, e2di_nblock_high, e2di_facl_high fields to ext2fs_dinode.
- Update i_e2fs_ aliases to match.

- ext2fs_bswap support for these ext2fs_dinode fields.

(e2di_version and e2di_facl_high replace previously reserved fields.
e2di_nblock_high was formerly e2di_nfrag and e2di_fsize, however these
are currently defined in e2fsprogs as only being relevant for HURD.)
2012-11-19 00:36:21 +00:00
jakllsch
d3a7475d25 Move i_e2fs_rdev define to be adjacent to the field it aliases. 2012-11-19 00:25:29 +00:00
pooka
505022ec4d regen 2012-11-18 21:20:16 +00:00
pooka
cb85005ba5 Necessary _KERNEL wrap to previous. 2012-11-18 21:19:52 +00:00
pooka
cfabaa1815 regen 2012-11-18 19:25:25 +00:00
pooka
bb890b4673 make work for non-c++ (???) 2012-11-18 19:25:09 +00:00
pooka
3342b3582d regen 2012-11-18 19:04:32 +00:00
pooka
7753a0419d While mucking in here, give the [local] client a chance to access all
rump kernel (i.e. NetBSD) errnos, not just EJUSTRETURN.
2012-11-18 19:03:43 +00:00
pooka
ad077d507d regen 2012-11-18 18:40:05 +00:00
pooka
005755d8e9 Finally remove the "temporary" __VTYPE_DEFINED stuff I added >5 years ago. 2012-11-18 18:39:23 +00:00
pooka
78b801a3d2 remove unused variable 2012-11-18 18:36:01 +00:00
dholland
4604e9c421 Regen from updated namei.src. 2012-11-18 18:25:50 +00:00
dholland
9268719493 Apply manu's change to namei.h correctly. 2012-11-18 18:25:08 +00:00
jakllsch
1703ea9991 stylistic adjustment in comments 2012-11-18 18:20:56 +00:00
jakllsch
990c973d65 correct comment to match code 2012-11-18 17:59:56 +00:00
manu
a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
alnsn
a7aa627f8a Disable generation of fastcall functions on i386. 2012-11-18 14:39:42 +00:00
alnsn
49f0e3b897 Apply adapted patch from the author of sljit to fix cdecl functions
generation on i386.
2012-11-18 14:36:37 +00:00
chs
2c889486d3 make ksyms structures not depend on KDTRACE_HOOKS.
always include a CTF section, even though it might be empty.
this fixes savecore's generated kernel symbol table files.
2012-11-18 00:06:56 +00:00
joerg
f611942e77 Unbreak the NOTE_TRACK event of EVFILT_PROC. When attaching to the child
process, proc_find can't be used as the child is still in state SIDL.
2012-11-17 21:55:24 +00:00
tsutsui
c5d4db27f7 Make xxboot for ufs variants actually functional:
- set bootdev properly even on SCSI HD and floppy boot
  per SDBOOT/FDBOOT/CDBOOT defines in each Makefile
- always print xxboot name and version
- use IOCS PRINT calls instead of printf to avoid size overflow in DEBUG case
- wrap debug stuff with #ifdef XXBOOT_DEBUG
- bump version to denote changes
Mostly taken from old boot_ufs.

XXX: xxboot_lfs[12] are untested.
2012-11-17 19:10:46 +00:00
tsutsui
2e3e0442cf Fix previous; no need to echo dummy command. 2012-11-17 17:58:59 +00:00
tsutsui
ec0ecb08a3 Appease warning "nbmake: ${TOUCHPROG} expands to empty string". 2012-11-17 17:51:09 +00:00
pooka
81eb87ebc6 include correct header 2012-11-17 16:38:22 +00:00
tsutsui
c47da7b7e1 Set *file for FS_OPS() pathname properly in devopen().
Now bootxx_ffsv1 (and other bootxx ufs variants) work properly.

XXX: cd9660_open() in sys/lib/libsa/cd9660.c seems to open a file in
     the first entry of root directory if specified path is empty.
     Not sure if it's intentional behavoir.
2012-11-17 16:16:46 +00:00
jakllsch
ef276a54b7 Match prototype types to function types (u_int64_t vs. uint64_t). 2012-11-17 16:03:48 +00:00
tsutsui
920bba18a7 - use declarations in <lib/libsa/stand.h>
- remove __P() and some KNF
- remove extern variable decl
- use uintNN_t type
2012-11-17 16:02:00 +00:00
tsutsui
4deb7bfcc7 - fix comments
- use proper uintNN_t types
- use ANSI function decls
- remove unnecessary function decl
- remove __P()
- misc KNF and cosmetics
2012-11-17 15:59:28 +00:00
tsutsui
a994905719 Use a correct function name in .globl decl. 2012-11-17 15:53:21 +00:00
tsutsui
06db0c82ee Pull fixes in comments from x68k/stand/boot_ufs/boot.S rev 1.9 and 1.10. 2012-11-17 15:50:13 +00:00
hannken
0253e4d99a wapbl_biodone: Release the buffer before reclaiming the log.
wapbl_flush() may wait for the log to become empty and
    all buffers should be unbusy before it returns.
2012-11-17 10:10:17 +00:00
msaitoh
9715b167f4 Change style a bit. 2012-11-15 06:14:54 +00:00
msaitoh
8f757e763b Add support for ITE8720F by Nat Sloss. PR#47169. 2012-11-15 04:45:01 +00:00
matt
5523aadff2 Set max_linkhdr when attaching so when bridging/forwarding ethernet drivers
have a chance to reserve enough space to insert a max-sized 802.11 header.
2012-11-14 18:34:05 +00:00
rkujawa
258df1e173 Add kernel RCS ID, clean up. 2012-11-14 17:15:25 +00:00
skrll
0228517d04 Fix function name in DPRINTF 2012-11-14 13:53:23 +00:00
rkujawa
41e877e706 Nuke unused clock struct, was used by a2kbbc before conversion to MI msm6242b
driver.
2012-11-14 13:36:02 +00:00
rkujawa
aadff9d116 Define msm6242b driver. 2012-11-14 02:03:25 +00:00
rkujawa
15d04dfed0 The a2kbbc is now based on MI MSM6242B driver. 2012-11-14 01:55:25 +00:00
rkujawa
3314cd850a Add MI OKI MSM6242B RTC driver. 2012-11-14 01:52:48 +00:00
jakllsch
419a240ec0 enable the generic pciide detach function in piixide(4) 2012-11-14 01:05:49 +00:00