Commit Graph

2691 Commits

Author SHA1 Message Date
pooka
8109843429 implement DIOCGMEDIASIZE, from Martin Lucina 2015-05-26 16:48:05 +00:00
pooka
0ba8e59f87 Implement fo_poll so that rump_sys_poll(stdout) works
more or less as expected.

from Martin Lucina <martin@lucina.net> via rumpkernel-users
2015-05-26 15:29:39 +00:00
ozaki-r
b71bd7bda7 Remove leftover IPX-related stuffs
No objection on tech-kern and tech-net.
2015-05-25 08:29:01 +00:00
pooka
521e7b5ba9 Add a rump kernel components for USB PCI host controllers. 2015-05-20 12:21:38 +00:00
pooka
1e2e59a64c Rename usb_at_ugenhc.c to the more generic usb_at_hc.c now that
host controllers beyond ugenhc are attached.
2015-05-20 11:53:08 +00:00
pooka
65e29fe174 also attach usb@{e,o,u}hci 2015-05-20 11:51:32 +00:00
pooka
44fa683b9a build dev_verbose.c 2015-05-20 11:22:54 +00:00
pooka
e63dc818ef call loginit() later, a lot later 2015-05-20 11:02:54 +00:00
pooka
a757287dfa Rewrite rules so that makesyscalls.sh will not be executed multiple
times in a parallel make.

Hopefully fixes sporadic build failures reported by Justin
2015-05-18 17:49:16 +00:00
pooka
412bc0ef8d Add pciide_machdep_compat_intr_establish().
Used by ... would you believe pciide?
2015-05-17 13:51:31 +00:00
pooka
4bf92fe14f Implement bus_space_read/write_multi() and bus_space_subregion().
Used by (at least) wdc.
2015-05-17 13:45:37 +00:00
pooka
c67798ece2 Autogenerate /dev/ldNx nodes based on which units attached instead of
hardcoding some arbitrary value for N.
2015-05-16 15:03:12 +00:00
pooka
61248571de Satisfy yet another non-modular driver still requiring a manual init call. 2015-05-16 13:59:00 +00:00
pgoyette
50b0fae6fd Regenerate 2015-05-13 02:13:08 +00:00
christos
524046d70c PR/975220: Check return of kthread_create 2015-05-10 14:05:22 +00:00
christos
65bd814e25 CID 274829: Check error from fd_getfile to avoid NULL deref immediately
after.
2015-05-10 14:00:42 +00:00
pgoyette
5608b80ca0 Regen for changes related to separation of compat_sysv syscalls into a
separate module.
2015-05-10 08:13:41 +00:00
pooka
48121ce977 remove files which are autogenerated in every build 2015-05-09 12:03:34 +00:00
pooka
8c13dec0ff Make the cool syscall autogeneration feature work with the
newfangled r/o src feature.
2015-05-09 12:03:10 +00:00
pgoyette
e7d73c5ce1 Regen again, this time without the extra word in the "generated from" line. 2015-05-09 06:06:14 +00:00
pgoyette
060ac9689e Regen from syscalls.master 2015-05-09 05:55:43 +00:00
hannken
e10a32f7f7 Remove miscfs/syncfs and
- move the syncer into kern/vfs_subr.c.

- change the syncer to process the mountlist and VFS_SYNC as appropriate.

- use an API for mount points similiar to the API for vnodes:
  - vfs_syncer_add_to_worklist(struct mount *mp) to add
  - vfs_syncer_remove_from_worklist(struct mount *mp) to remove a mount.

No objections on tech-kern@
2015-05-06 15:57:07 +00:00
rtr
fd12cf39ee make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.

final commit for parameter type changes to protocol user requests

* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
2015-05-02 17:18:03 +00:00
prlw1
9521ae7bfd Fix typos 2015-04-28 09:48:30 +00:00
rtr
d2aa9dd71f remove pr_generic from struct pr_usrreqs and all implementations of
pr_generic in protocols.

bump to 7.99.13

approved by rmind@
2015-04-26 21:40:48 +00:00
pooka
a240365213 Add libkvm to list of userspace libraries.
Even though kvm per se isn't support by rump kernels at least for now,
libkvm contains methods such as kvm_getproc2() which can be necessary for
compiling existing applications with kvm awareness as rumprun unikernels.
2015-04-25 08:48:06 +00:00
rtr
eddf3af3c6 make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.

* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.

patch posted to tech-net@ 2015/04/19
2015-04-24 22:32:37 +00:00
pooka
ff02be874a There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases.

reported by gson
2015-04-24 06:29:56 +00:00
pgoyette
2c08ddf95f Update initialization of sysmon rump library sub-components. These are now handled as part of module initialization, and do not require manual invocation. 2015-04-23 23:23:14 +00:00
pooka
ac0dac8111 Rename RUMP_COMPAT to RUMP_NBCOMBAT to better signify what the
variable does.
2015-04-23 14:49:26 +00:00
pooka
97e480bbad For RUMP_COMPAT, accept "all" as an alias.
Also accept a comma-separated list, since that's easier to pass through
shells than a whitespace-separated list.
2015-04-23 14:39:03 +00:00
pooka
87a65e5d69 Default compat to 60 70, now that it hopefully generates no fallout. 2015-04-23 10:52:18 +00:00
pooka
1e3055e45d regen for COMPAT_50 sprinklage 2015-04-23 10:51:20 +00:00
pooka
f26441069d Mark the vattr50 translation helpers as COMPAT_50 2015-04-23 10:50:29 +00:00
pooka
30f29c7861 support COMPAT_nn flags 2015-04-23 10:50:00 +00:00
pooka
ff30f895ea COMPAT_OIF{DATA,REQ} are defined by compat/sys/sockio.h if need be,
don't define them here unconditionally.
2015-04-23 07:56:03 +00:00
pooka
78d0de80d8 sprinkle COMPAT_50 2015-04-23 07:55:24 +00:00
pooka
ef3e63b15f g/c the never-used and never-useful hyperstubs.c 2015-04-23 06:39:19 +00:00
pooka
79729d845f Apparently new source files need to be added to each Makefile.inc
individually.  Who comes up with this kind of crappy build infra?
2015-04-22 20:10:56 +00:00
pooka
165d419fa9 Put 50 back to compat list for a while (some fallout) 2015-04-22 18:14:55 +00:00
pooka
04469a37d8 Define rump_nativeabi_p() under arch, where one would logically expect
it to be defined.
2015-04-22 18:12:39 +00:00
pooka
b6f51922f7 default compat to 60 & 70 2015-04-22 17:58:19 +00:00
pooka
b13c75b964 Build compat code only when specified by RUMP_COMPAT 2015-04-22 17:57:49 +00:00
pooka
2c5012fa3d Apparently not all ports define struct clockframe in cpu.h, so we cannot
provide our definition that way.  Instead, generate the struct clockframe
passed to hardclock() in MD code.
2015-04-22 17:38:33 +00:00
pooka
459ac4c7e6 rename rumpvfs/compat.c to rumpvfs/rumpvfs_compat50.c 2015-04-22 17:00:59 +00:00
pooka
28f2b5b757 Generate -DCOMPAT_nn from a list of nn provided in RUMP_COMPAT 2015-04-22 16:59:45 +00:00
pooka
87792ce272 Include kern_clock.c in rump kernels. 2015-04-22 16:49:42 +00:00
pooka
e94d45801a emulgate clockframe 2015-04-22 16:48:08 +00:00
pooka
6d5d1af88e track cpu_onproc 2015-04-22 16:01:07 +00:00
pooka
b9e12739d0 Use hardclock_ticks instead of a homegrown variable.
... not that I understand how various kernel algorithms can work
after enough uptime with hardclock_ticks being a signed int.
2015-04-21 16:18:50 +00:00