Commit Graph

215031 Commits

Author SHA1 Message Date
riastradh
d2477942b2 Export a little more from the omap2 prcm driver.
This is in anticipation of drivers that need to enable (and, for
future power management, perhaps disable) modules on an SoC.  Each
SoC has a different notion of enabling and disabling modules and will
need to implement prcm_module_enable and prcm_module_disable
separately.
2012-12-11 18:51:38 +00:00
roy
7175086342 Add support for the noifprefix keyword which stops rtadvd(8) gathing prefix
information from the interface if no addrs are present in rtadvd.conf(5).
2012-12-11 16:37:23 +00:00
pgoyette
76c350d10d Replace a couple of many-line #define with equivalent code loops.
No functional change intended, and atf tests (using swsensor(4)) still
pass 100%
2012-12-11 15:39:06 +00:00
skrll
8ad28a95b1 DPRINTF improvement - print the address of the pipe we return not where
in memory we return the address (which is mostly useless)
2012-12-11 12:59:03 +00:00
msaitoh
5d8b710d44 Fix off by one read error. 2012-12-11 09:17:31 +00:00
msaitoh
202434cbda Fix wrong reference to dev_priv->saveSWF1. It was clearly wrong. 2012-12-11 07:31:39 +00:00
macallan
e1ecb1c8d7 work around a bug in some (all?) nvidia OF ROMs:
the color! method always changes only the palette registers associated with the
first, usually analog head, even if the monitor in use is on port 2, usually
DVI or ADC.
Don't enable cmap_callback when we find out we're on port 2 of an nvidia card,
that way genfb won't try to use R3G3B2 colours and assume something resembling
an ANSI palette which will at least gives us something usable, as opposed to
black on mostly black.
2012-12-11 03:00:00 +00:00
khorben
89dbf15fc9 Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.

Resulting N900 kernel tested with no visible regression.

<gimpy> go for it
2012-12-11 01:54:41 +00:00
matt
bc0ae31576 Add code to patch pmap_{copy,zero}_page_generic to change calls to
b{copy,zero}_page to b{copy,zero}_page_vfp
2012-12-11 01:52:30 +00:00
matt
98a505fe40 Fix c&p error. 2012-12-11 01:51:14 +00:00
matt
d37381c8bd Defer configuring children of obio until all obio are attached.
from jmcneill.
2012-12-11 01:33:32 +00:00
matt
3add6f77d8 Optimize pmap_{copy,zerp}_page_generic to understand that when all of memory
is always mapped that you don't have create mappings dynamically.
2012-12-11 01:16:10 +00:00
matt
82296793c8 These contain to just contain bzero_page_vfp and bcopy_page_vfp 2012-12-11 01:13:05 +00:00
pooka
af1f107ceb Add more external dependencies for crtstuff 2012-12-10 23:49:39 +00:00
pooka
4e6104b334 Revert poor change 2012-12-10 23:48:38 +00:00
pooka
83cc3f6549 Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also,
handle "missing" crtstuff internally instead of depending on external
intervention.
2012-12-10 20:58:55 +00:00
christos
97efc101e5 add a test case for PR/47306 2012-12-10 20:30:06 +00:00
christos
03f2d45a25 PR/47306: Aleksey Cheusov: Don't free strings of symbols where we maintain
pointers to.
2012-12-10 19:49:05 +00:00
christos
faa0524c86 PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
work because the wrong variable is used.
XXX: Pullup to 6.
2012-12-10 18:11:33 +00:00
chs
9f1c960dcc enable __USE_TOPDOWN_VM. 2012-12-10 16:12:19 +00:00
msaitoh
afa3d2af2b Fix off by one read. 2012-12-10 08:36:03 +00:00
matt
958910a301 Add b{zero,copy}_page{,_vfp} and physical_end 2012-12-10 08:19:59 +00:00
matt
b83b5a89c9 add mm_md_direct_mapped_phys 2012-12-10 08:19:10 +00:00
matt
541e1a1106 Change a KASSERT to a KASSERTMSG 2012-12-10 06:54:23 +00:00
matt
b8d7acb128 Add pmap_{copy,zero}_page_vfp 2012-12-10 06:53:52 +00:00
matt
a798da9773 if __HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined, make sure mapallmem_p is true. 2012-12-10 06:51:49 +00:00
matt
1ee1fc76a5 Make sure we can deal with VA != PA but still we need to have all of PA mapped. 2012-12-10 06:51:05 +00:00
matt
80269dc9ce add __HAVE_MM_MD_DIRECT_MAPPED_PHYS 2012-12-10 06:50:28 +00:00
msaitoh
465bde02e7 Fix off by one. 2012-12-10 06:07:34 +00:00
matt
01b65f59ed Add VFP_FPEXC_EN 2012-12-10 05:03:42 +00:00
matt
45d82ff1b3 Add -mfpu=vfp since these are arm11 2012-12-10 05:01:43 +00:00
matt
18feae1b06 Add code to use VFP(or Neon) instructions to zero or copy a page via
pmap_zero_page and pmap_copy_page.  (Not hooked into vfp_init yet).
Requires FPU_VFP
2012-12-10 04:58:54 +00:00
rmind
f960ba1c63 npfctl: add 'validate' command to check the config, but not load it. Update
the man page.  Also add a small note about 'debug' command, PR/47298.
2012-12-10 02:26:04 +00:00
chs
e0ade4fb6d fix these *stat routines: don't pass a kernel stack buffer
to a function that will try to copyout() to it.
just do both layers of compat translation here.
2012-12-10 02:21:58 +00:00
dholland
a4350943e1 whitespace 2012-12-10 02:03:45 +00:00
matt
18d4b47816 Rename pcb_sp/PCB_SP to pcb_ksp/PCB_KSP so that ipsec.c will compile. 2012-12-10 01:37:30 +00:00
matt
e34a352fa4 move inlines into FPU_VFP 2012-12-10 01:35:28 +00:00
rmind
f9e6e88c89 npf_rwrcksum: handle delayed checksums in the network stack; also fix
non-NPF_NAT_PORTS case and add some comments.  PR/47235.
2012-12-10 01:11:13 +00:00
christos
af8c5897ad first define HOSTLIB and then include bsd.own.mk! 2012-12-10 00:34:56 +00:00
rmind
333cdb0c5a Add NPF "rndblock" extension to randomly drop packets (using a random function
with a percentage or modulo operation).  This is a demo module, although it can
be used for packet loss simulation.  Example of a procedure in npf.conf:

procedure "somedrop" {
	# Drop 1.9% of the traffic
	rndblock: percentage 1.9
}
2012-12-10 00:32:23 +00:00
christos
5641345b31 forgetting to shift turns this into a cpu burner. 2012-12-09 23:53:39 +00:00
christos
810857e2ff ignore --sysroot=/ 2012-12-09 23:42:16 +00:00
christos
568b7e7cb5 restore the find loop to include files generated by configure 2012-12-09 23:18:30 +00:00
rmind
f69459c655 Fix syntax error in the example, fix one rule and G/C "rid" procedure. 2012-12-09 22:12:26 +00:00
spz
0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
christos
6e077d2764 handle the list of files and directories generated dynamically by configure 2012-12-09 21:48:04 +00:00
jakllsch
5c1c4e1fcf Reflect that this file is now for the x86 ports and not just i386 in comments. 2012-12-09 21:30:02 +00:00
jakllsch
dd049cd624 Remove trailing whitespace on blank lines. 2012-12-09 20:43:54 +00:00
christos
df81d8d522 make this work 2012-12-09 19:15:48 +00:00
christos
c3a3a89834 Include <bsd.own.mk> to give a chance to ${TOOLDIR} to be defined before
using it in rules. Before there was another .mk file included before ${TOOLDIR}
was used.
2012-12-09 18:08:08 +00:00