Commit Graph

221407 Commits

Author SHA1 Message Date
martin
abea8b316b The R_SPARC_L44 relocation type is documented to be truncating and
calculated as "(S + A) & 0xfff" - so while it (usually) sets a "imm13" field
in the opcode, only 12 bits of the calculated value can be used.
2013-10-03 10:45:57 +00:00
skrll
649604f70f Simply the code now that all (real) HCDs provide a get_lock method. 2013-10-03 07:35:37 +00:00
mbalmer
32a0142d1e Clarify that setting the initial window size complies to RFC 3390.
From Loganaden Vevindron <logan@elandsys.com>.
2013-10-03 07:09:54 +00:00
skrll
388c8fd109 LOCKDEBUG doesn't imply DIAGNOSTIC. duh. 2013-10-02 23:27:50 +00:00
skrll
1b2c36c1be Fix a KASSERT - how did that sneak in? 2013-10-02 23:24:58 +00:00
skrll
d048cc6a61 Remove harmless paste error. 2013-10-02 23:09:39 +00:00
skrll
08afd97c38 Modernise slhci. Many thanks to rkujawa@ for testing. 2013-10-02 22:55:04 +00:00
skrll
bfe4e9e245 At least attempt to handle USBD_DEFAULT_INTERVAL. 2013-10-02 22:53:23 +00:00
skrll
33ebc33e66 A small code simplification 2013-10-02 22:48:51 +00:00
skrll
5774832cb2 Pass any error from dwc2_device_start upwards. 2013-10-02 22:45:10 +00:00
apb
86fd64c325 The "-s" flag is passed to init by the kernel, not by the boot loader. 2013-10-02 22:07:56 +00:00
apb
06dcf00819 Document that the kernel may try several paths for init.
XXX: This should be in the kernel documentation, not in the init(8) man page.
2013-10-02 22:01:47 +00:00
christos
b258a62a64 add stdio.h 2013-10-02 21:48:55 +00:00
apb
03780f96b2 Add "/rescue/init" to the end of the initpaths list, which
now contains: { "/sbin/init", "/sbin/oinit", "/sbin/init.bak",
"/rescue/init", NULL }.

XXX: The kernel's use of initpaths is not documented.
2013-10-02 21:38:55 +00:00
christos
ca8473e079 document LINENO
XXX: someone should fix all the .Ev stuff because some of them are just
shell variables .Va and are not really exported to the environment. See
the FreeBSD man page.
2013-10-02 20:42:56 +00:00
christos
018a6f7864 add crude $LINENO support for FreeBSD 2013-10-02 19:52:58 +00:00
christos
6ee96ec804 If building with MKPIC=no, then set PICFLAGS to empty, otherwise bsd.lib.mk
sets PICFLAGS=-fPIC and we pick this via CSHLIBFLAGS to build .o objects.
This breaks the sun2 port, because with -fPIC we end up producing short
relative pic branches for $_exception_handler, so we get relocation errors.
Arguably:
	1. MKPIC=no should not set PICFLAGS in bsd.lib.mk
	2. CSHLIBFLAGS should not be used in non pic (.o) productions
2013-10-02 18:25:43 +00:00
matt
386d762476 Add support for OMAP1-183 base hawkboard (HAWK) from Sughosh Ganu.
Minor cleanup (adding $NetBSD to headers, __KERNEL_RCSID to C files, etc).
2013-10-02 16:48:26 +00:00
macallan
50c2794d8e one step closer to graphics acceleration:
- probe and report actual amount of video memory
- add DMA machinery to feed commands to the graphics processor
- adapt a whole bunch of magic number initialization from xf86-video-nv, now
  the chip actually reads commands from a buffer in video memory
2013-10-02 16:35:38 +00:00
macallan
1cdb87f75a add a bunch more constants from xf86-video-nv 2013-10-02 16:32:40 +00:00
christos
5d90f91c6a use -Wa, 2013-10-02 15:43:02 +00:00
christos
585258c6b9 Fix mips platforms (no need for -wrapper for lex) 2013-10-02 14:35:33 +00:00
kiyohara
0e5a795e81 Remove undefined CPU ID. Thanks skrll@. 2013-10-02 12:41:06 +00:00
skrll
99508dcf0a Some core configurations cannot support LS traffic on a FS root port.
Fix adapted from the github.com/raspberrypi driver.
2013-10-02 11:36:27 +00:00
rmind
be67742670 tmpfs_remove: as per POSIX, "if the file's link count is not 0, the last
file status change timestamp of the file shall be marked for update."

From Pedro Martelletto.
2013-10-01 23:10:25 +00:00
mrg
79175743d7 pass -Av8 to the assembler. binutils 2.23 insists on it for v8
instructions.
2013-10-01 17:37:08 +00:00
mrg
4e64e7add5 regen mknative for coldfire / binutils 2.23.2. 2013-10-01 16:56:51 +00:00
skrll
ec517edb39 Use G_enable_initfini_array and default to no while mknative is rerun. 2013-10-01 16:07:35 +00:00
skrll
7a7ff791ae Re-run binutils mknative for amd64 to grab enable_initfini_array 2013-10-01 15:43:00 +00:00
skrll
41c37f737d Grab enable_initfini_array from the ld Makefile 2013-10-01 15:41:17 +00:00
blymn
873b5b8698 Use the internal version of touchline to update the line. 2013-10-01 11:41:14 +00:00
roy
af358e5553 Allow interactive displays if the termcap entry does not have the `li'
setting but we can calculate the lines from ioctl.
2013-10-01 11:39:37 +00:00
kiyohara
aa6740aa65 Add OMAP_MPU_CLOCK_FREQ=13000000. 2013-10-01 11:24:49 +00:00
skrll
27a6d4d8b4 Finally re-run mknative binutils for armeb 2013-10-01 10:57:52 +00:00
skrll
82dcfc189d Default to ARM_ARCH_V4.
Minimum processor for all arm ports is really StrongARM and has been for
sometime.
2013-10-01 10:06:17 +00:00
roy
c0fcd471d9 Import terminfo-20130607.src + mbalmers typo patch
All our prior patches have been incorporated.
2013-10-01 09:17:41 +00:00
roy
c019d40dad terminfo uses CDB instead of DB 2013-10-01 09:01:49 +00:00
skrll
2f91957ba2 Appease new gas. 2013-10-01 07:48:35 +00:00
sjg
5042f283e6 meta_oodate: 'L'ink and 'M'ove entries need extra processing.
The src of a Link should be treated as a file Read
while the target a file Written.
The src of a Move is like a file Deleted
and the target like a file Written.
2013-10-01 05:37:17 +00:00
mlelstv
6bd854d718 Don't return 0x1.0p31 for every input value 2^N.
There is also no need to special case the value 1.
2013-09-30 19:32:14 +00:00
hannken
3881f4f3f9 Replace macro v_specmountpoint with two functions spec_node_getmountedfs()
and spec_node_setmountedfs() to manage the file system mounted on a device.
Assert the device is a block device.

Welcome to 6.99.24

Discussed on tech-kern@ some time ago.

Reviewed by: David Holland <dholland@netbsd.org>
2013-09-30 18:57:59 +00:00
skrll
55b5274d5c Even though the world is moving to earm provide a CPU_DEFAULT for arm
targets.

This stops the "Warning: swp{b} use is obsoleted for ARMv8 and later"
messages and probably others.

Discussed with matt@
2013-09-30 16:16:31 +00:00
hannken
595ec746ec Remove VI_INACTPEND. Last consumer was vcount() which got removed 2010-01-08.
Reviewed by: David Holland <dholland@netbsd.org>
2013-09-30 15:24:14 +00:00
kiyohara
1d991400b0 Add Plat'Home OpenBlocks AX3. 2013-09-30 13:38:16 +00:00
kiyohara
75b56c0b6f Add configuration Plat'Home OpenBlocks AX3. 2013-09-30 13:36:54 +00:00
kiyohara
7f6c6542c2 Move armadaxpreg.h into arm/marvell.
And add some defines and reorder.
2013-09-30 13:33:05 +00:00
kiyohara
1fc1bcf6a4 Call some armadaxp functions with MARVLL_INTERREG_PBASE.
And include arm/marvell/armadaxpreg.h instead of evbarm/armadaxp.
2013-09-30 13:29:07 +00:00
kiyohara
1ec637ab56 Reorder include opt_mvsoc.h. 2013-09-30 13:22:22 +00:00
kiyohara
eb864f3d76 Change some defines. 2013-09-30 13:21:10 +00:00
kiyohara
7fc0e74eb1 Remove #ifdef ARMADAXP. It is OK !ARMADAXP.
Add some ARMADAXP devices to peripheral list.
And sort and reorder list.
2013-09-30 13:19:28 +00:00