Commit Graph

129884 Commits

Author SHA1 Message Date
msaitoh
6554242ba8 Add Intel Core 6G devices from datasheets. 2015-12-01 08:40:06 +00:00
martin
868ff37cc2 Remove some diagnostic/debug messages. 2015-12-01 08:22:30 +00:00
pgoyette
ae0a7f84e1 Regen 2015-12-01 02:21:17 +00:00
pgoyette
bc3c0dc251 Adapt to per-emulation syscall_autoload capability (the table of syscalls
that can be autoloaded is currently empty).
2015-12-01 02:20:43 +00:00
pgoyette
69dab31c79 Finish the rename from sc_auto --> sc_autoload
(Thanks, brad harder)
2015-12-01 01:19:02 +00:00
pgoyette
217b023ed5 Rename "autoloadprefix" variable to "emulname" - suggested by christos@ 2015-12-01 00:58:29 +00:00
pgoyette
54a32217dd Regen 2015-12-01 00:27:17 +00:00
pgoyette
176d3ea77e Only cast to (void) if the type is NOERR 2015-12-01 00:25:58 +00:00
pgoyette
b781d540c9 KNF - Thanks, christos 2015-11-30 23:34:47 +00:00
pgoyette
135af292eb Finish the regen - some of the files from sys/kern got committed
accidentally with the fix to makesyscalls.sh - sorry about that.
2015-11-30 23:28:31 +00:00
pgoyette
08f7ea41a8 And now fix the actual syntax error. :( 2015-11-30 23:27:27 +00:00
pgoyette
315ae186f4 Fix typo 2015-11-30 23:25:54 +00:00
pgoyette
f2e03d0b39 Cast rsys_syscall() to (void) to appease coverity. 2015-11-30 23:24:14 +00:00
pgoyette
89c8da7109 Rename sc_auto to sc_autoload at suggestion of christos@ 2015-11-30 23:17:40 +00:00
pgoyette
423d48daf1 Eliminate stray \t in the syscalls_autoload.c output file. 2015-11-30 23:00:14 +00:00
pgoyette
5c797da732 Remove stray \t (pointed out by Kamil - thanks!
I'll fix the makesyscalls.sh script shortly.
2015-11-30 22:58:15 +00:00
pgoyette
abe91b09e0 Regen for 7.99.23 2015-11-30 22:48:53 +00:00
pgoyette
0513b92c02 Make the list of syscalls which can trigger a module autoload an
attribute of each emulation, rather than having a single global
list which applies only to the default emulation.

This changes 'struct emul' so

        Welcome to 7.99.23 !
2015-11-30 22:47:19 +00:00
skrll
c74c93c4f6 Trailing whitespace. 2015-11-30 13:27:09 +00:00
skrll
a455039345 Fix 10year old bug of mine affecting interrupt IN transfers. 2015-11-30 13:26:09 +00:00
skrll
fa67479436 Whitespace 2015-11-30 07:51:44 +00:00
ozaki-r
cefec21119 Get rid of a big block in in_arpinput
No functional change.
2015-11-30 06:45:38 +00:00
mlelstv
3972fec404 Fall back to VOP_READ/VOP_WRITE if the simulated disk has smaller
sectors than the underlying filesystem and VOP_STRATEGY would fail.
2015-11-30 06:04:47 +00:00
pgoyette
0b8f413125 Factor the basic dependency list out of the #ifdef _KERNEL_OPT block, since
the only difference was ksem (which is available as either built-in or
loadable module).
2015-11-30 01:31:02 +00:00
jmcneill
7f43a6e6ef Add some event counters to track transfer sizes. 2015-11-29 23:38:47 +00:00
skrll
0748561f22 Page align KERNEL_BASE_{PHYS,VIRT} and fix boot on my BPI after the XN
fix.
2015-11-29 19:52:03 +00:00
jmcneill
b8bc161064 Fix A9 periph clock when selecting frequencies below 1200MHz. Remove
frequencies below 312MHz as they require special handling. We can now
choose between 1536 1488 1320 1200 1008 816 720 600 504 408 312.
2015-11-29 19:16:58 +00:00
jmcneill
3c6f5bd68b Retire CPUFREQ option, instead just pick the highest available frequency
at boot. Update the list of supported frequencies to match the list of dvfs
frequencies from the meson8b dts, capped at 1.5GHz. The highest available
frequency is changed from 1512MHz to 1536MHz.
2015-11-29 16:52:00 +00:00
skrll
15c435f6d0 Improve debug message 2015-11-29 09:10:05 +00:00
mlelstv
174162494b Remove bogus dk_getdisklabel call.
- there is no need to read the label in the attach routine
- passing a (dev_t)0 may cause havoc.

This fixes PR 41704.
2015-11-28 21:06:30 +00:00
marty
11b4c07d53 Exit hypervisor mode before entering supervisor
The Odroid XU4 is booted in hypervisor mode, probably because it is trust
zone enabled.  Before we can put it in supervisor we must explicitly remove
it from hypervisor.

This change is from Nick, who figured it out and adapted code from FreeBSD
to make the necessary change.
2015-11-28 20:51:36 +00:00
maxv
5f9c9faaae KNF 2015-11-28 18:08:40 +00:00
dholland
daa427b465 Fix kern/50841: races in sys_lseek. 2015-11-28 15:26:29 +00:00
dholland
cf8a8cd732 If the kernel jumps to NULL, print where it came from instead of trying
to dereference and faulting again.
2015-11-28 15:06:55 +00:00
mlelstv
9c6a5e265b Inherit sector size from underlying disk to support disks with
sector sizes other than 512 bytes.

The CGD disk image depends on disk geometry as it encodes the block
number into each block. You cannot copy an image between disks
with different sector sizes.
2015-11-28 14:45:24 +00:00
mlelstv
8d4b288604 bounds check requires consistent units, i.e. DEV_BSIZE. 2015-11-28 14:37:49 +00:00
mlelstv
4ff1b3e606 Handle sector sizes other than DEV_BSIZE when reading labels. 2015-11-28 14:36:00 +00:00
mlelstv
a4f2b41710 sc_size is already measured in sectors. 2015-11-28 13:41:31 +00:00
plunky
522f084ab1 add version and extended feature flags defined in 4.2 specification,
add cache for page 2 of extended features and return this in
the SIOCGBTFEAT ioctl (no change in size)
2015-11-28 09:04:34 +00:00
plunky
b0d4935612 note recent spec additions to L2CAP Info command regarding fixed channels 2015-11-28 08:57:33 +00:00
plunky
ca14c58257 add in PSMs defined in later versions of specification 2015-11-28 07:50:37 +00:00
christos
df2b8d0369 fix the build 2015-11-28 03:40:43 +00:00
pgoyette
aa36e9a178 Re-work the module init and destroy code to allow it to be unloaded and
then reloaded.

Should fix PR kern/49842
2015-11-28 03:06:45 +00:00
skrll
26d7324de5 EXYNOS_CONSOLE_EARLY doesn't belong here 2015-11-27 22:02:15 +00:00
jmcneill
6e138cfd75 Pull in changes from OpenBSD r1.34:
> Fix values of AR9003 Rx queue software indexes. Both indexes were zero,
> which is obviously not intended given how they are used in the ar9003 code.
> No currently working athn(4) devices are affected by this change.
2015-11-27 21:16:17 +00:00
christos
e77b077223 use commands() instead of target() because assym.mk creates all the targets
unconditionally.
2015-11-27 20:59:47 +00:00
christos
8089a0f85d PR/50483: David A. Holland: fix building of assym.d:
1. use += to add to DEPS
	2. move inclusion of rules mk. files before the rules are defined
	   so that variables are set.

Now we get on amd64:

	mkdep: ignoring acpi_wakeup_low.d: No such file or directory
	mkdep: ignoring amd64func.d: No such file or directory
	mkdep: ignoring busfunc.d: No such file or directory
	mkdep: ignoring copy.d: No such file or directory
	mkdep: ignoring cpu_in_cksum.d: No such file or directory
	mkdep: ignoring cpufunc.d: No such file or directory

because there are no rules to generate those, but it is harmless.
2015-11-27 20:33:55 +00:00
joerg
079b557452 Don't use dynamically sized unions, they are a horrible GNUism. Just use
the existing upper limit all the time.
2015-11-27 16:52:32 +00:00
joerg
7a3084cdcb Shuffle a bit to avoid empty loop body. 2015-11-27 13:51:57 +00:00
joerg
1caddb70de Left-shift of negative values is UB. 2015-11-27 13:51:24 +00:00