Commit Graph

227840 Commits

Author SHA1 Message Date
pooka a98adcf8d6 use psize_t for physical memory calculation 2014-06-13 11:57:48 +00:00
pooka a554de2109 make sure we don't underflow the memlimit 2014-06-13 11:53:48 +00:00
pooka fed90df329 fill in a few more uvmexp entries 2014-06-13 11:48:56 +00:00
joerg 7be9a8f800 Remove unused headers. 2014-06-13 11:26:37 +00:00
joerg 440506dd8d Rename stack gap arguments. 2014-06-13 10:42:26 +00:00
joerg 05ceadd7ef Regnerate 2014-06-13 10:37:22 +00:00
joerg 98fc8b37be delete -> remove 2014-06-13 10:37:02 +00:00
joerg 881138893f Rename argument like the native syscall. 2014-06-13 10:36:18 +00:00
christos 95f8ac2c53 mention new file. 2014-06-13 02:09:20 +00:00
christos 819e6405b7 merge conflicts 2014-06-13 02:08:06 +00:00
christos 012fd1339d import file-5.19
2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>

	* Misc buffer overruns and missing buffer size tests in cdf parsing
	  (Francisco Alonso, Jan Kaluza)

2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>

	* Enforce limit of 8K on regex searches that have no limits
	* Allow the l modifier for regex to mean line count. Default
	  to byte count. If line count is specified, assume a max
	  of 80 characters per line to limit the byte count.
	* Don't allow conversions to be used for dates, allowing
	  the mask field to be used as an offset.

2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>

	* Make the range operator limit the length of the
	  regex search.

2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>

	* PR/347: Windows fixes
	* PR/352: Hangul word processor recognition
	* PR/354: Encoding irregularities in text files

2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>

	* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>

	* PR/351: Fix compilation of empty files

2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>

	* Fix integer formats: We don't specify 'l' or
	  'h' and 'hh' specifiers anymore, only 'll' for
	  quads and nothing for the rest. This is so that
	  magic writing is simpler.

2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>

	* PR/341: Jan Kaluza, fix memory leak
	* PR/342: Jan Kaluza, fix out of bounds read

2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>

	* Fix issue with long formats not matching fmtcheck
2014-06-13 01:48:18 +00:00
mrg 26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
mrg 8fdcc92436 delete GCC 4.1 reach over. 2014-06-13 01:11:15 +00:00
mrg bc41cab760 delete GCC 4.1 sources. 2014-06-13 01:00:32 +00:00
riastradh 16bef292a1 Destroy, don't leak, events when done with them. 2014-06-13 00:47:08 +00:00
mrg aff8ab64be delete GCC 4.1 sources. 2014-06-13 00:46:29 +00:00
mrg 96dcd295da delete GCC 4.1 sources. 2014-06-13 00:35:37 +00:00
mrg 1fffdc27bd remove GCC 4.1 sources. 2014-06-13 00:35:03 +00:00
mrg 4dcc96edd5 delete GCC 4.1 sources. 2014-06-13 00:30:37 +00:00
justin 76fd41999f gcc cannot always work out initialization here 2014-06-12 22:21:20 +00:00
joerg ca8a9c6fc0 Fix build. 2014-06-12 22:15:25 +00:00
joerg e764e6c8e4 Rename old/new to match syscalls.master. 2014-06-12 22:10:04 +00:00
joerg 16691bd24e Regenerate 2014-06-12 21:42:26 +00:00
joerg ec22bfc3c9 Avoid using C++ keywords as argument name. 2014-06-12 21:41:33 +00:00
joerg ef53e37514 Don't t use a C++ keyword as field name. 2014-06-12 21:39:45 +00:00
christos dbd224bbcc stf is a 6->4 gateway and needs both inet4 and inet6 not one or the other. 2014-06-12 21:08:31 +00:00
christos f16aa4743c update for the new function signatures of initstate/srandom 2014-06-12 20:59:46 +00:00
alnsn 6460808439 Revert the previous (comment only change). 2014-06-12 20:22:04 +00:00
apb e7f11a1a5a fix missing backslash in previous 2014-06-12 19:12:19 +00:00
riastradh 93c1cf0ddc Mark another place in i915drmkms where paddr constraints are set. 2014-06-12 19:11:51 +00:00
riastradh 84255b79fd Constrain addresses of pages backing i915 GEM objects.
Use the new uao_set_pgfl and x86_select_freelist for the purpose.
2014-06-12 19:10:33 +00:00
apb bb0d3eec51 Wrap complex macros in do { ... } while (0). Also replace the magic
number 1600000 with a macro.
2014-06-12 19:05:37 +00:00
riastradh cd2156f4c2 Tweak x86 page freelists and add x86_select_freelist.
- Add 4G freelist to i386 -- there may be higher addresses if PAE.
- Add 64G and 1T freelists to amd64.
- Simplify freelist setup code and condense it into a table.
- Add x86_select_freelist to get a freelist guaranteed to yield
addresses no greater than a prescribed maximum address.

x86_select_freelist takes a uint64_t, not a paddr_t or bus_addr_t, so
that you can pass in, e.g., a 36-bit maximum address without needing
to write conditionals for i386/PAE.

No objections on port-x86:

https://mail-index.netbsd.org/port-i386/2014/05/21/msg003277.html
https://mail-index.netbsd.org/port-amd64/2014/05/21/msg002062.html
2014-06-12 19:02:35 +00:00
christos b27e135433 rename to 60 2014-06-12 18:49:37 +00:00
riastradh c6caa5cec4 Get GTT size from PGTBL_CTL on G4X chipsets. 2014-06-12 18:46:32 +00:00
christos 32baae8990 update for new signatures 2014-06-12 18:46:12 +00:00
christos 1eb0dcbb1d fix srandom and initstate signatures (from enh at google) 2014-06-12 18:44:36 +00:00
riastradh 4a00503bb8 Fix MMIO registers sizes for pre-Ironlake chipsets. 2014-06-12 18:41:46 +00:00
riastradh 7607f34b0c Extend agp_generic_bind_memory with bounds to check.
New routine agp_generic_bind_memory_bounded.

Use it in agp_i810 to replace the pile of code I wrote as a
replacement which is apparently broken.
2014-06-12 18:33:42 +00:00
christos 10ed35f153 From Darren Reed:
This patch fixes "ipfstat" not displaying group rules and fixes problems
being able to remove individual rules using ipf/ipnat.

#547 rule parsing puts junk at the end of ipf rules
#546 ipfstat -io does not list rules in groups aside from 0

Due to unforeseen circumstances I'm not able to commit this myself.
2014-06-12 17:23:06 +00:00
riastradh 86971187ea Fix type in cast too, after changing type of gtt_off. 2014-06-12 17:04:58 +00:00
christos f6fa080675 PR/48901: Fail at compile time when trying to compile stf without inet6,
and print an explanatory message.
2014-06-12 16:43:09 +00:00
apb 77f1084b46 etcupdate(8): Add destdir support. [apb 20140612] 2014-06-12 15:13:44 +00:00
riastradh 7df9e83c86 Check bounds in agp_i810_borrow.
Out of paranoia, do a bus_space_subregion in case the old drm code
tries sizes that the agp_i810 code doesn't agree with.
2014-06-12 15:05:29 +00:00
riastradh aa774f923d Use correct type for gtt_off, an offset relative to a bus address. 2014-06-12 14:49:02 +00:00
riastradh 83838c6f3a Ensure we map all the MMIO registers.
For i8xx chipsets, the GTT is in the middle of the MMIO space, so we
can't map it separately.  Use a subregion instead.
2014-06-12 14:48:17 +00:00
apb ca69835d41 Update date for previous, and fix some small errors. 2014-06-12 14:07:13 +00:00
apb 6a34214686 Add "-d destdir" option to etcupdate.
This has been only lightly tested.
2014-06-12 13:56:32 +00:00
christos 06e92f6d05 PR/8899: Alexander Nasonov: ddb command 'show malloc' is no longer available 2014-06-12 13:47:58 +00:00
apb 24cced9eb7 Keep track of whether anything was changed (or needs to be changed),
and print a message at the end if nothing needs to be done.
2014-06-12 13:42:05 +00:00