Commit Graph

282277 Commits

Author SHA1 Message Date
nia 0a229fd396 lib: Move sqlite, since it depends on libm 2020-10-29 20:11:17 +00:00
rillig 6cb53c3b46 make(1): add test for the :Q modifier 2020-10-29 19:07:45 +00:00
rillig ef1a78792e make(1): add test for default format of the :localtime modifier 2020-10-29 19:01:10 +00:00
rillig e05312f590 make(1): add test for default time format of the :gmtime modifier 2020-10-29 18:59:43 +00:00
rillig 26bb639d2f make(1): add test for ignoring assignment to read-only variable 2020-10-29 18:38:24 +00:00
rillig d24669de54 make(1): move MAKEFLAGS handling in vardebug test to the test itself 2020-10-29 18:19:41 +00:00
rillig 78256667f4 make(1): add test for .export and Var_Delete 2020-10-29 17:27:12 +00:00
nia 7a30d56279 sqlite: fts5 extension requires we link with -lm 2020-10-29 16:35:33 +00:00
nia 8ecfd670fa sqlite3: Turn on extensions that default-on using the configure script
Includes json1 and fts5, which are both needed by various things in pkgsrc
2020-10-29 12:38:06 +00:00
nia e1bcbb6984 wscons(4): WSKBD_TYPE_PC_AT is automatically translated to
WSKBD_TYPE_PC_XT in modern kernels
2020-10-29 09:08:35 +00:00
martin 827c798e7b Fix obvious copy&pasto 2020-10-29 08:50:42 +00:00
jdc 296377474d Add a driver for the PCF8574 I/O expander, used as a GPIO in some sparc64
hardware.
The driver currently handles pins configured as LED or INDICATOR and adds
them to the LED and sysmon_envsys subsystems, respectively.
2020-10-29 06:55:51 +00:00
jdc 45c58795d8 Handle the change in the sparc64 OFW patching, where we now encode the
GPIO pin type in the pin name (only LED types are currently handled).
2020-10-29 06:50:53 +00:00
jdc f1f65711d5 Add information about GPIO pin assignments and drive bays in the E250 and
v240.  Consolidate common code for v210/v240 and E250.
Modify the GPIO pin names to include a type (currently LED or INDICATOR)
which we can then handle in the driver.
2020-10-29 06:47:38 +00:00
blymn 865079658a Disable the wgetch test as it appears to be missing at the moment. 2020-10-29 00:27:50 +00:00
ryo b709678506 add missing vmt_fdt.c.
sorry, I forgot to commit vmt_fdt.c in http://mail-index.netbsd.org/source-changes/2020/10/27/msg123452.html
2020-10-28 08:36:40 +00:00
nia bf99f1741c xorg: retire XTrap library and sample clients
the DEC-XTRAP extension is deprecated since 1994, so modern X servers do
not support it

the library was removed from pkgsrc last year and is not required by
anything not-sample-client related in src

if you try to query the protocol on netbsd, you get the following:

$ xtrapproto
Display:  :0.0
Warning: Can't load DEC-XTRAP extension
xtrapproto: could not initialize extension
2020-10-28 08:10:08 +00:00
rin d08f499cf2 Add smscphy(4) found on some RPI models. 2020-10-28 07:36:17 +00:00
msaitoh 02b63d895f Add missing drain for pcq in wm_stop_locked(). OK'd by knakahara.
This change fixes two problems:
 1. If the pcq is full and watchdog timer is fired, the full state of the
    pcq is kept and wm_transmit() returns with ENOBUFS.
 2. ifconfig down doesn't free mbufs in the pcq.
2020-10-28 07:08:08 +00:00
rillig 8742f4e00b make(1): rename defIncPath to defSysIncPath
There are two variables, parseIncPath and sysIncPath, which made the
name defIncPath ambiguous.
2020-10-28 03:21:25 +00:00
rillig 7dd3730386 make(1): merge curFile into includes
This makes GetActuallyIncludingFile simpler since it no longer needs the
special case for curFile.

The type of 'includes' has changed from Vector<IFile *> to
Vector<IFile>, to avoid a few extra memory allocations and because
Vector is easier to use with structs than with pointers (see
GetInclude).
2020-10-28 03:12:54 +00:00
rillig 2f29849acc make(1): inline Vector_Get
It is simple enough that it neither bloats the code nor warrants the
extra function call.
2020-10-28 02:43:16 +00:00
rillig 83957e3406 make(1): rename predecessor to order_pred
The new name aligns nicely with the GNode field of the same name.
2020-10-28 01:58:37 +00:00
mrg 26a9e5e0ac s/USENET/USBNET/ in another place i just happened to find by
typo-ing "UBS" as "USE".
2020-10-28 01:51:45 +00:00
rillig b6b3f42b5c make(1): sort ParseSpecial alphabetically 2020-10-28 01:51:36 +00:00
rillig 284ff17a7e make(1): remove unused, undocumented .NOEXPORT 2020-10-28 01:47:11 +00:00
rillig 6e75ee0c38 make(1): rename ParseSpecial enum values consistently
The previous naming scheme was inconsistent in that dotError started
with a lowercase character and ExObjdir and ExPath had a distracting
prefix.
2020-10-28 01:43:01 +00:00
rillig 59b984363b make(1): rename some fields of struct IFile
The initial "P_" of these field names didn't match anything else.  The
documentation was missing the purpose of the buffer.  The start of the
buffer is only needed to free it later, so reflect that in the variable
name.
2020-10-28 00:44:39 +00:00
rillig babeb182f8 make(1): clean up API comment in parse.c 2020-10-28 00:38:37 +00:00
jdc 561283d662 Add additional debugging output.
Track more chip state in the softc and check the chip state via a timer.
This allows us to easily observe changes caused by external events
(e.g. disk removal or PSU failure).
2020-10-27 20:13:21 +00:00
rillig 7983d1cb9e make(1): extract InitMaxJobs from main 2020-10-27 19:16:46 +00:00
rillig 8a75a7d162 make(1): extract InitObjdir from main 2020-10-27 18:16:19 +00:00
rillig 446e22c5d1 make(1): make InitVarMake simpler and document its intention 2020-10-27 18:12:15 +00:00
rillig e22d1f5e81 make(1): extract InitVarMake from main 2020-10-27 17:36:17 +00:00
abs f6c2394005 Update mopd for 4k VAX page size and support 1k page a.out binaries
From dreamlayers
2020-10-27 17:16:24 +00:00
rillig b7e6c8ec50 make(1): extract InitRandom from main 2020-10-27 17:09:09 +00:00
abs c185136d00 Fix Linux pfInit() parameter order for mopd
From dreamlayers
2020-10-27 17:07:14 +00:00
martin da165701f6 When we did not magically find any CD medium with sets, offer a manual
override (so ISO images on USB sticks or Xen's xbd(4) work).
2020-10-27 15:28:01 +00:00
skrll 854115aa13 Report HW DMA capability and if the DMA tag limits it. 2020-10-27 13:50:57 +00:00
mrg 746efec2b8 s/UBS/USB/ in a macro and its use.
pointed out by nisimura@.
2020-10-27 13:46:33 +00:00
nia 4640ade553 xorg: obsolete libXevie
this is a library for an X server extension that the modern Xorg server
does not have.

it no longer has any users in src or pkgsrc.
2020-10-27 13:42:22 +00:00
martin bc61105d29 Use the relative paths in the installed version, not the (different)
source pathes.
2020-10-27 11:01:22 +00:00
ryo 0b42d22ad0 move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
2020-10-27 08:57:10 +00:00
mgorny fc2fc80ae1 Add tests for AVX-512 registers (zmm0..zmm31, k0..7)
Thanks to David Seifert <soap@gentoo.org> for providing a VM
on an AVX-512 capable hardware

Reviewed by kamil
2020-10-27 08:32:36 +00:00
rillig 11396d0e1e make(1): extract ReadMakefiles from main 2020-10-27 08:05:20 +00:00
rillig 729b79eb0c make(1): extract CleanUp from main
This makes it a bit easier to spot the main task of the main function,
which is the runTargets call.
2020-10-27 08:00:20 +00:00
rillig fd4deb0c47 make(1): free the variable names given on the command line
These are not aliased anywhere.  The opts.makefiles on the other hand
may be referenced in GNode.fname or pretty much anywhere else, so don't
free them.  There's still a Targ_PrintGraph call below it that might use
them.
2020-10-27 07:51:43 +00:00
rillig 71a540bd5d make(1): extract InitVpath from main 2020-10-27 07:44:43 +00:00
rillig b6e938d46f make(1): use constant string for Var_Subst
The times where Var_Subst needed a modifiable string are long gone.
2020-10-27 07:38:08 +00:00
rillig 35f4d5e2e5 make(1): extract ReadBuiltinRules from main 2020-10-27 07:34:36 +00:00