Commit Graph

244043 Commits

Author SHA1 Message Date
shm 1202090c01 Do not send encoding header for compressed formats. 2016-07-19 09:27:40 +00:00
kre 8f8fef4dea + PTO please turn over 2016-07-19 09:10:16 +00:00
msaitoh 207265e875 Print number of attach error regardless of AB_QUIET and AB_SILENT. 2016-07-19 07:44:03 +00:00
pgoyette db571e7ec7 Add a couple definitions of PTO
PR misc/51342
2016-07-19 07:06:32 +00:00
pgoyette 7c20c5d3bb Fix regression introduced in tests/net/bpf and tests/net/bpfilter
The rump code needs to call devsw_attach() in order to assign a dev_major
for bpf;  it then uses this to create rumps /dev/bpf node.  Unfortunately,
this leaves the devsw attached, so when the bpf module tries to initialize
itself, it gets an EEXIST error and fails.

So, once rump has figured what the dev_major should be, call devsw_detach()
to remove the devsw.  Then, when the module initialization code calls
devsw_attach() it will succeed.
2016-07-19 02:47:45 +00:00
pgoyette b480c5f769 Add the pgoyette-localcount branch 2016-07-19 02:04:06 +00:00
taca a0e1068441 BIND 9.10.4-P2 has released. 2016-07-19 01:04:09 +00:00
christos 216c089b2e add missing attribute. 2016-07-18 22:51:38 +00:00
maya 6d7eeb5b57 ret is only used in debug cases, mark as __unused. 2016-07-18 22:24:15 +00:00
maya 605a5134f3 Include mips/cpuregs.h for MIPS_PHYS_TO_KSEG1 2016-07-18 22:17:09 +00:00
maya 2cdb8600b4 Remove unused variables 2016-07-18 22:13:22 +00:00
maya 55444510e0 Don't use old-style definitions.
Appeases GCC.
2016-07-18 22:07:38 +00:00
maya 7fc0e5755e Include sys/device.h for cfdata_t 2016-07-18 22:05:53 +00:00
maya a87b681f14 Adapt to change: struct cfdata * -> cfdata_t 2016-07-18 21:54:12 +00:00
pgoyette f62b0250ed Insert missing 'break;' statements.
CID 1364142
2016-07-18 21:09:05 +00:00
pgoyette d76562fa13 Rearrange code to avoid testing an error value that has not been set.
Also, for the built-in case, rather than re-inserting our devsw and
then ignoring the EEXIST error, don't bother re-inserting.

CID 1364140
2016-07-18 21:07:30 +00:00
pgoyette e615742559 Rearrange so that error check is only done after error has been set.
CID 1364141
2016-07-18 21:03:01 +00:00
palle 6dae8467bf sun4v: handle device interrupts properly - both legacy (sysino) and cookies 2016-07-18 19:51:06 +00:00
maya 88c2982e9a Adapt to recent MIPS changes
need mips/locore.h for cpu_identify
2016-07-18 19:50:11 +00:00
palle fffaa3504b sun4v: reset cbus debug back to zero 2016-07-18 19:32:44 +00:00
christos 9b35adc85c adapt to changed api 2016-07-18 18:46:07 +00:00
christos 439326df13 need sys/stat.h for umask. 2016-07-18 18:45:56 +00:00
christos bc1b97558b new acpica 2016-07-18 17:26:58 +00:00
christos 72abab0cc9 merge conflicts. 2016-07-18 17:26:12 +00:00
christos ae01e9dc22 27 May 2016. Summary of changes for version 20160527:
This release is available at https://acpica.org/downloads


1) ACPICA kernel-resident subsystem:

Temporarily reverted the new arbitrary bit length/alignment support in
AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
a number of regressions with the new code that need to be fully resolved
and tested before this support can be finally integrated into ACPICA.
Apologies for any inconveniences these issues may have caused.

The ACPI message macros are not configurable (ACPI_MSG_ERROR,
ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
and ACPI_MSG_BIOS_WARNING). Lv Zheng.

Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
option. Adds a new return macro, return_STR. Junk-uk Kim.

Example Code and Data Size: These are the sizes for the OS-independent
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
debug version of the code includes the debug output trace mechanism and
has a much larger code and data size.

  Current Release:
    Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
  Previous Release:
    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
    Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
2016-07-18 17:23:24 +00:00
christos 2fbb92f482 CID 1349675: Null pointer dereference 2016-07-18 17:04:29 +00:00
christos ca1437e523 CID 1349674 Null pointer dereference 2016-07-18 17:02:44 +00:00
christos f10d3d31fa CID 1349652: Set umask before mkstemp 2016-07-18 16:58:04 +00:00
christos cde7fc85ec CID 1288934: Use after free. 2016-07-18 16:56:04 +00:00
christos 4d8445a4a7 Not designed for PIE 2016-07-18 12:17:39 +00:00
skrll db2fe8a3e5 Various improvement from t-hash (and a bit from me).
- Flesh out the abort routine
- Avoid using EVENT_DATA
- Miscellaneous debug
- Comment improvement
2016-07-17 20:13:19 +00:00
christos f03e9ee2c9 remove ctf lint library 2016-07-17 19:44:56 +00:00
skrll 6fb0d64f9e Fixup some Loongson code after recent changes to pmap and PAGE_SIZE 2016-07-17 16:44:39 +00:00
abhinav ee829d24f5 Use deroff() from mandoc(3) to directly parse the Nd macro rather
than parsing it by hand.

With the latest mandoc(3), the .Nd macro was getting parsed twice. This fixes
that problem and cleans up the code as well.

ok christos@
2016-07-17 15:56:14 +00:00
skrll 3b2c691c07 Use anonymous union for ptm_ceiling and old __pthread_spin_t field to
maintain backward compatibility and fix hppa build.  hppa has an non-
integer type __pthread_spin_t
2016-07-17 13:49:43 +00:00
skrll 2533f55817 Update instruction numbers in comments 2016-07-17 12:56:12 +00:00
abhinav 19584ea1f8 Fix extraction of section number and machine architecture from man pages.
With the latest API, mdoc_validate()/man_validate() needs to be called before
reading the roff_man.meta field, otherwise it is NULL.

Also, if a man page doesn't specify machine architecture, don't default to '?'
, let it be stored as null in the db. Otherwise, the output of apropos(1) shows
the names of the results as \?/<title>
2016-07-17 12:18:12 +00:00
maxv 0d774014e0 Simplify x86_add_cluster. 2016-07-17 10:46:43 +00:00
pgoyette b380080ebc Now that we're only calling devsw_attach() in the modular driver, it
is not ok for the driver/module to already exist.  So don't ignore
EEXIST.
2016-07-17 02:48:07 +00:00
pgoyette 29ec3266f4 Use C99 initializers for the cdevsw
No functional change intended or expected.
2016-07-17 02:09:10 +00:00
pgoyette 6d10b14789 Another case of not calling devsw_attach() for built-in device modules 2016-07-17 02:02:01 +00:00
pgoyette 3c6a976d2d Don't initialize variables that no longer exist in built-in module. 2016-07-17 01:16:30 +00:00
pgoyette 5233aa279b Don't try to call devsw_attach() for built-in driver code. 2016-07-17 01:03:46 +00:00
pgoyette d8be519d13 Ooops - previous change was over-zealous. We still need the cdevsw for
the built-in case.  Restore it.
2016-07-17 00:33:28 +00:00
pgoyette c5aa6dee64 Finish previous - now that we're not calling devsw_attach unnecessarily,
we can enclose some additional variables in #ifdef _MODULE / #endif
2016-07-17 00:27:03 +00:00
pgoyette 6eb90f9524 Rather than calling devsw_attach() and ignoring the EEXIST error when
the driver is already built-in to the kernel, don't bother calling.
2016-07-17 00:17:14 +00:00
matt 2973d5ed00 When doing dmamap syncs, try to use KSEG0/XKPHYS address if possible.
XXX once hard page coloring is supported XKPHYS could be used all the time.
2016-07-16 21:33:46 +00:00
maxv b77ef7bf90 KNF, and rename. 2016-07-16 17:13:25 +00:00
maxv 404effc719 Simplify the way physical pages are internalized into the VM system on x86.
Only two functions are called now: init_x86_clusters, which initializes the
memory clusters from the bootinfo, and init_x86_vm, which inserts the pages
from the clusters into VM.
2016-07-16 17:02:34 +00:00
maxv c031d605d2 Introduce x86_load_region(), and explain a little what we are doing. 2016-07-16 14:51:45 +00:00