226981 Commits

Author SHA1 Message Date
gson
b92a5adc68 Add country codes for Lithuania, Latvia, and Estonia 2014-05-06 10:16:52 +00:00
sborrill
47b10421a6 Force pci_mode 1 when running as Xen HVM domU to allow cd* to be detected
correctly. Fixes kern/48770. Thanks to cube@
2014-05-06 09:01:26 +00:00
martin
e1ea636bac Fix firmware path - noted by Thomas Mueller on current-users. 2014-05-06 07:29:30 +00:00
cherry
b3b58e3b56 Use the hypervisor to copy/zero pages. This saves us the extra overheads
of setting up temporary kernel mapping/unmapping.

riz@ reports savings of about 2s on a 120s kernel build.
2014-05-06 04:26:23 +00:00
yamt
d1d388317b include string.h for memset 2014-05-06 00:41:26 +00:00
wiz
9237f38b59 Sort options in usage. 2014-05-05 21:04:09 +00:00
joerg
cf0e135411 Remove unused umcs7840_reg_dcr0. 2014-05-05 20:56:15 +00:00
wiz
5f345558c9 Sort SYNOPSIS. Bump date for previous. 2014-05-05 20:52:45 +00:00
reinoud
dd87895d88 exywdt -> exyowdt 2014-05-05 20:31:03 +00:00
reinoud
bb915980be Add TDB lines 2014-05-05 20:24:35 +00:00
martin
be27ff5209 Add a new action kernel.gdb=MYCONF to build a kernel with debuginfo
(and generate netbsd.gdb)
2014-05-05 19:12:19 +00:00
martin
c72d415969 Use the new -U option for config to avoid generating kernel debug info
during release builds. This should save quite some space in the evbarm
build, where makeoptions DEBUG is heavily used.
2014-05-05 19:10:00 +00:00
martin
1957b5eaba Add two new options, -U and -D, that can be used to define "makeoptions"
on the config command line. While there, rename the undocumented (internal)
parser debug option from -D to -d.
Discussed on tech-toolchain.
2014-05-05 19:08:13 +00:00
martin
ecad429601 As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).
2014-05-05 19:06:29 +00:00
palle
827ae21f8b sun4v: the trap base address should be assigned to %l1 so %tba is properly setup later in the code - now the kernel gets as far as printing the copyright disclaimer, kernel version and total and available memory before crashing 2014-05-05 19:04:47 +00:00
martin
fb80a335f8 Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
skrll
1d34270f2d Fill in netbsd32_vm_default_addr, and provide
- compat_13_netbsd32_sigreturn, and
	- compat_16_netbsd32___sigreturn14
2014-05-05 17:45:24 +00:00
christos
6a4e46c891 Handle a closing brace at the end of a command without a preceding semi-colon:
/foo/ {p;d}
2014-05-05 17:12:11 +00:00
skrll
f90eccea8d Use a spinlock for completions. Makes vchiq pass LOCKDEBUG where other
spinlocks where held when trying to use the completion API.
2014-05-05 15:59:11 +00:00
christos
c4c94e150f Free pid for linux processes. Reported by Mark Davies, fix by dsl@
XXX: pullup 6
2014-05-05 15:45:32 +00:00
skrll
39a9f5a322 Improve locking and kcondvar usage.
The "interrupt" lock doesn't need to be a spin mutex as the vchi
completions we're synchronising with are done in thread context.

Don't share the interrupt lock for the msg_sync done synchronisation.
2014-05-05 08:13:31 +00:00
skrll
a774828bd4 In the MULTIPROCESSOR case where another thread wins the race to allocate
a new segtab page call mips_pmap_unmap_poolpage on the page our thread
allocated and called mips_pmap_map_poolpage for.
2014-05-05 05:55:21 +00:00
christos
fdca1450dc remove hack for PR/42848 2014-05-04 22:18:38 +00:00
mrg
424f4c982d open the tty with O_RDWR|O_NONBLOCK. it seems valid to ask for
write permission when we're setting flags, and ucom(4) has an
existing workaround for a bug when O_RDWR is not used, and thus
ttyflags would not work for ucom devices.
2014-05-04 20:43:30 +00:00
skrll
126d985871 Make this compile/work with PARANOIADIAG 2014-05-04 17:06:23 +00:00
njoly
fa686015bc Regen for pread/pwrite signature. 2014-05-04 10:31:10 +00:00
njoly
470da95e01 Adjust pread/pwrite signature to match reality. 2014-05-04 10:30:39 +00:00
njoly
7d21c20716 Regen for pread/pwrite 64bit offset argument. 2014-05-04 10:10:39 +00:00
njoly
d63cac9fa8 Fix pread/pwrite syscalls which need a 64bit offset argument. 2014-05-04 10:08:53 +00:00
njoly
dc2a049782 Remove now unneeded bsd.kinc.mk. 2014-05-04 10:03:55 +00:00
martin
11775dd78d The OF_test_method() function takes an instance handle, not a phandle,
and returns 0 on success.
Pointed out by Mark Cave-Ayland.
2014-05-04 09:05:39 +00:00
joerg
7e3335542c Missing register validation check. 2014-05-03 23:19:56 +00:00
martin
0b6a7ee607 Fix comment pointing at the source of the list of functions and add
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
martin
1c6ed8789e Also attach to devices named "parallel" 2014-05-03 12:51:31 +00:00
skrll
9529d26c91 Use pmap_tlb_asid_check to reduce code c&p. 2014-05-03 12:50:01 +00:00
nakayama
dc8b8612da Fix build w/o options SUN4_MMU3L. 2014-05-03 11:17:06 +00:00
skrll
5aa26d5c98 Make PARANOIADIAG compile. 2014-05-03 07:06:31 +00:00
skrll
bc85f1552e Grab pv_list lock in pmap_unmap_ephemeral_page only when needed. 2014-05-03 06:55:04 +00:00
dogcow
759ce8712d as suggested by gimpy et al, "no config" the netbsd-device kernels.
Reduces `build.sh release` by about a gig.
2014-05-02 23:49:10 +00:00
riastradh
4c9193e998 Cast from uint32_t to bus_addr_t earlier, since it may exceed 32 bits. 2014-05-02 14:36:10 +00:00
hkenken
b8ec0e3375 struct device * -> device_t 2014-05-02 03:05:41 +00:00
martin
4cbf4e7755 Do not create debug info for *_INSTALL kernels. 2014-05-01 18:43:45 +00:00
dsl
2ea4518b97 Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds.
One of these (probably the first) is needed to stop the eh-frame
section being created.
The eh_frame section is loadable and bloats the boot images.
This might be enough to make pxeboot work.
2014-05-01 18:37:26 +00:00
tsutsui
18864e9474 Reduce a number of getsecs() calls in le_get() to make netboot a bit faster. 2014-05-01 18:08:47 +00:00
riastradh
c5a81b561e Tweak some DRM GEM page indexing crap.
- Fix order of subtraction in drm_mmap_paddr_locked.
- Address GEM objects' pages from 0, not from the mmap cookie.
- Check page alignment earlier in mmap code paths.
- Sprinkle kasserts throughout.

Still doesn't fix the garbage that is sometimes being scribbled all
over kernel memory!
2014-05-01 15:19:16 +00:00
riastradh
19062f226a Clear only the requested range in gen6_ggtt_clear_range.
Sprinkle kasserts throughout i915_gem_gtt.c.
2014-05-01 14:37:36 +00:00
joerg
9695f56051 Check for mounted /proc. 2014-05-01 03:46:11 +00:00
joerg
e7ed6f13f6 First argument of vchiq_log_info is the log level, not a boolean. 2014-05-01 03:07:50 +00:00
wiz
03d5906507 acpica-20140424 out. 2014-05-01 00:03:01 +00:00
joerg
bbc12701e3 pmap_is_current might be unused, tag it as such. 2014-04-30 21:15:06 +00:00