Commit Graph

222999 Commits

Author SHA1 Message Date
pooka
f4f26b55de need ktrace.h now 2013-12-09 16:56:11 +00:00
pooka
5624f8eb6b Support ktrace for rump kernels.
Requested by Justin Cormack on rumpkernel-users.
2013-12-09 16:54:20 +00:00
pooka
9737cfdd2b Group more syscall related routines together (kern_subr -> kern_syscall) 2013-12-09 16:49:43 +00:00
pooka
b4e2514736 Put vfs bits of ktrace into kern_ktrace_vfs.c per convention. 2013-12-09 16:45:23 +00:00
pooka
a639bb644d regen 2013-12-09 16:35:12 +00:00
pooka
1aff7d0261 Echo generated file names so that you can just copypaste & cvs ci
without having to resort to the blazingly fast help of cvs diff.
2013-12-09 16:32:06 +00:00
pooka
f5fe7e313f Rump kernels now use sy_invoke(), which initializes the return
value registers, so no need to do it individually in each wrapper.
2013-12-09 16:27:15 +00:00
pooka
257a0d4d1f Use sy_invoke() instead of sy_call() directly. 2013-12-09 16:23:10 +00:00
pooka
afc932bfaa stop ktrace at process exit 2013-12-09 16:21:15 +00:00
wiz
d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
wiz
918b300e20 Fix typo. 2013-12-09 09:22:44 +00:00
dsl
8acb81ad2b Missing change to the fxsave structure rename 2013-12-09 08:33:48 +00:00
jnemeth
1cb2b94165 Add two new subcommands, "set" and "unset". These were inspired by
FreeBSD's gpart(8), but the code is all mine.  The purpose of these
is to set and unset partition attributes.
2013-12-09 08:03:17 +00:00
jnemeth
66ad0e75ae For the "show -i <entry>" subcommand, print Start and Size both in
terms of number of sectors and bytes.
2013-12-09 01:35:02 +00:00
dholland
79ecfd8450 add note about gets() 2013-12-08 21:29:15 +00:00
dsl
e3332f3a4a Rename the fields of 'struct envxmm' (itself badly named) so that they
are different from those used for the x87 fpu.
Use a union to describe the 64bit 'address' field so that it correctly
  spilt for 32bit binaries.
The freebsd emulation defined its own 'struct freebsd_env87' that the
  code just assumed matched the netbsd one.
  Since this is a hardware structure, just use the netbsd one.
This shouldn't change the binaries except that 'en_fos' used to be
  incorrectly a 32bit field.
2013-12-08 20:45:30 +00:00
dsl
7d3a3fd1aa Remove the now-unused CPU_MAXMODEL and CPU_DEFMODEL 2013-12-08 18:08:34 +00:00
dsl
c4cd1a519d Add some definitions for cpu 'extended state'.
These are needed for support of the AVX SIMD instructions.
Nothing yet uses them.
2013-12-08 18:00:51 +00:00
njoly
4aa28cc3f1 Regen. 2013-12-08 15:56:12 +00:00
njoly
7baf52cd9a Sprinkle a few more linux_umode_t where appropriate.
Reduce diffs between archs.
2013-12-08 15:55:10 +00:00
njoly
d16d72eb65 Add missing syscall argument fd in comment. 2013-12-08 14:59:43 +00:00
palle
b11afb2f13 Add support for running ofwboot on sun4v. Please note that the kernel on sun4v will be loaded properly but when the kernel takes over it will crash immediately since the kernel is not sun4v ready yet 2013-12-08 14:41:28 +00:00
skrll
429fb24601 Mark rv as unused (for now) 2013-12-08 14:37:01 +00:00
martin
b558379e09 Cosmectic: use the same define in all places when referencing the BAR.
No functional change.
2013-12-08 11:32:51 +00:00
jdc
9949853838 Use a double linked list with a static head to track MMU entries.
Code from martin@.
Tested on SUN4 (4/330), SUN4C (SS2), and SUN4M (Krups, 4/630).
2013-12-08 10:12:39 +00:00
jnemeth
2098c8504e For the add and resize subcommands, change the -s option. If there is
no suffix, or the suffix is 's' or 'S', size is in sectors (as before)
otherwise size is in bytes.
2013-12-08 09:32:51 +00:00
njoly
e767fbcf4a Regen. 2013-12-08 08:55:27 +00:00
njoly
30c1ae2545 Add support for *at syscalls. 2013-12-08 08:54:48 +00:00
spz
7ae9a70dc6 more complete fix for Coverity issue 976653 2013-12-08 08:32:13 +00:00
jnemeth
e3e68bccc8 fix off-by-one error 2013-12-08 08:30:01 +00:00
msaitoh
d8338c13d3 regen. 2013-12-08 07:41:06 +00:00
msaitoh
a57568b8b9 Add devices of Atom S1200 series from the datasheet
(Table 2-1 Local PCI Hierarchy, datasheet Volume 2 of 2).
2013-12-08 07:40:37 +00:00
matt
36a2626fcd Make sure t9 ($25) is properly set before calling ___start 2013-12-08 06:32:36 +00:00
msaitoh
fed068bb70 Update invariant TSC detect code from both Intel and AMD documents.
The best way to check whether the TSC counter is invariant or not is to check
CPUID 80000007.
2013-12-08 04:07:38 +00:00
martin
5a653d813b Add a tmpfs for /var/shm on machines with more than 16MB ram to the created
/etc/fstab.
2013-12-07 20:40:42 +00:00
christos
ef60a6a957 CID 1006982: Fix memory leak 2013-12-07 20:24:35 +00:00
martin
1b1205ff08 Remove duplicated line for /etc/fstab in file list 2013-12-07 19:42:36 +00:00
palle
6886e0915b Added missing $ to sun4v sypervisor API 2013-12-07 16:54:43 +00:00
palle
fbadee00dd sun4v hypervisor API - from OpenBSD 2013-12-07 15:36:39 +00:00
skrll
cd08339278 Add __sync_synchronize alias. 2013-12-07 13:09:55 +00:00
njoly
965d2f018b Regen. 2013-12-07 11:49:56 +00:00
njoly
2f2a9081c4 Add dup3 support. 2013-12-07 11:49:27 +00:00
nakayama
0d901cb2cd Timecounter's tc_get_timecount requires only 32-bit (u_int), so
omit unnecessary upper 32-bit read from STICK counter.
2013-12-07 11:17:24 +00:00
hannken
fb83ccaa78 When deciding to defer in vrelel():
- No need to always defer layer vnodes, if we get the vnode lock it
  is safe to inactivate.
- Always use VOP_LOCK(), it makes no sense to use vn_lock() here.
- No need to drop v_interlock for VOP_LOCK(... LK_NOWAIT).
2013-12-07 10:03:28 +00:00
njoly
f4eb1c9fc7 Regen. 2013-12-07 09:20:22 +00:00
njoly
fb1f7d2f0d Remove liutimes(2) that linux never had. 2013-12-07 09:19:36 +00:00
skrll
4bbccb8e68 Remove a couple of item that have been done. 2013-12-07 08:01:51 +00:00
skrll
89bc4df88c Remove a couple more items that have been (mostly) done. 2013-12-07 07:59:37 +00:00
skrll
3c2db5992f Remove a couple of items that have been done. 2013-12-07 07:57:44 +00:00
dholland
963ea49030 WARNS=5 2013-12-07 02:24:12 +00:00