283562 Commits

Author SHA1 Message Date
rillig
ee90815510 make(1): add test for makefile containing null bytes 2020-12-06 19:18:26 +00:00
rillig
4e133ccc5e make(1): test parsing a makefile that ends in a backslash 2020-12-06 19:00:48 +00:00
jmcneill
962d94c5c4 acpidump: Do not print FACS if HW_REDUCED flag is set.
According to ACPI 6.3 spec, FACS is optional when HW_REDUCED is set. ACPICA
ignores the FACS completely when HW_REDUCED is set, so we need to follow
suit since it is not available through /dev/acpi as the table is not
installed.
2020-12-06 18:38:58 +00:00
rillig
856f84743d make(1): fix undefined behavior in ParseEOF
Adding a number to a null pointer should have been caught by any
Undefined Behavior Sanitizer, but apparently neither GCC nor Clang do
this.
2020-12-06 18:37:04 +00:00
rillig
2069cc7bbf make(1): remove comment decoration 2020-12-06 18:13:17 +00:00
rillig
16ad1eafba make(1): move CleanEnv to UnexportVars
It clearly didn't belong in the GetVarnamesToUnexport part of the code.
2020-12-06 17:41:52 +00:00
rillig
b5432954a4 make(1): extract UnexportVars from Var_UnExport 2020-12-06 17:35:51 +00:00
rillig
73f3a22b54 make(1): fix comment in test for directive unexport-env 2020-12-06 17:29:27 +00:00
rillig
2b33648640 make(1): clean up GetVarnamesToUnexport 2020-12-06 17:27:10 +00:00
rillig
afef166f61 make(1): extract GetVarnamesToUnexport from Var_UnExport 2020-12-06 17:22:44 +00:00
rillig
d97dc758c9 make(1): replace pointer comparisons with enum
Keeping track of what it means if varname.str == str is not as
expressive as declaring what exactly to unexport.
2020-12-06 16:24:30 +00:00
rillig
d179c16de4 make(1): add test for directive unexport-env 2020-12-06 16:06:11 +00:00
rillig
874b4121ce make(1): use FStr in Var_UnExport 2020-12-06 15:40:46 +00:00
christos
85d1299109 Don't descend to gdbserver for now 2020-12-06 15:00:25 +00:00
rillig
ccced12be8 make(1): add FStr to var.c to make memory handling simpler
The pattern of having a variable and a corresponding freeIt variable
appears over and over again in make, so cast it into a struct.
2020-12-06 14:50:09 +00:00
christos
ab6cf0a944 Move everyone to gdb-11 2020-12-06 14:28:34 +00:00
christos
2d450a0b24 fix powerpc 2020-12-06 14:26:40 +00:00
rillig
cb394f3681 make(1): move type definitions in var.c to the top 2020-12-06 14:20:20 +00:00
jmcneill
e4cf01d087 acpi: Cleanup SPCR setup and style fixes. 2020-12-06 14:01:40 +00:00
rillig
5fe7744e54 make(1): extract FreeEnvVar from Var_Parse 2020-12-06 13:51:06 +00:00
thorpej
46944f1c4d Fix an uninitialized pointer deref introduced in rev 1.207.
Reported-by: syzbot+6d69101d5f2fd954c4e2@syzkaller.appspotmail.com
2020-12-06 13:45:58 +00:00
rillig
856b05feb8 make(1): move .include lines as far down as possible 2020-12-06 13:29:34 +00:00
rillig
b95bc08bdf make(1): move COPTS above <bsd.prog.mk> 2020-12-06 12:54:32 +00:00
jmcneill
773e7c3eca Fix typo in comment 2020-12-06 12:47:12 +00:00
jmcneill
afa9a57552 Style fixes. NFC. 2020-12-06 12:40:58 +00:00
jmcneill
8d11c11286 acpi: Use acpi_intr_establish to install interrupt handlers
Get rid of bus-specific (isa_intr_establish) and MD (intr_establish) calls
from MI ACPI code, and use acpi_intr_establish everywhere.
2020-12-06 12:23:13 +00:00
dholland
ce47fd40df speed limit 80 2020-12-06 11:41:47 +00:00
jmcneill
7e22a6bccc acpi: remove unused acpi_quirks_osi_* functions 2020-12-06 11:38:28 +00:00
dholland
475cad6763 speed limit 80 2020-12-06 11:35:27 +00:00
rillig
d0ce656731 make(1): indent buf.h with tabs instead of spaces 2020-12-06 11:00:56 +00:00
rillig
9df90c54cf make(1): inline macros for debug logging
No changes to the resulting binary, except for the line numbers in
assertions.
2020-12-06 10:49:02 +00:00
rillig
ab8e02500d make(1): clean up macros for debug logging
Using a do-while loop prevents compiler warnings about possible dangling
else.  It also removes the unnecessary negation.
2020-12-06 10:33:42 +00:00
jdc
468b9986e5 Don't read from the chip when matching, fail the attach instead (requested
by jmcneill).  Reverts previous.
2020-12-06 10:09:36 +00:00
jdc
ca0f291d8a Don't read from the chip when matching, fail the attach instead (requested
by jmcneill).  Reverts previous.
While here, handle errors attaching sysmon and acquiring the iic bus lock.
2020-12-06 10:06:15 +00:00
skrll
a4c9665c21 Fix build after interval timers refectoring by thorpej@ 2020-12-06 09:03:29 +00:00
christos
9fd8799cb5 regen more mips and aarch64 2020-12-06 05:23:03 +00:00
christos
e5d758f832 fix sh3, regen some more 2020-12-06 04:08:51 +00:00
christos
ee7936c8ba don't expose vaddr_t to userland. 2020-12-06 03:46:23 +00:00
christos
20c7f62303 fix m68k, ppc, sparc, vax 2020-12-06 03:29:03 +00:00
christos
13f1e6e199 need -lpthread for sun2 2020-12-06 03:28:25 +00:00
christos
cde44e7207 undo previous; __register_t is already defined 2020-12-06 03:19:14 +00:00
jmcneill
161b30af53 acpi: add character device for accessing ACPI tables
The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
2020-12-06 02:57:29 +00:00
christos
f9f4337ba5 Don't expose register_t 2020-12-06 02:26:33 +00:00
christos
86fde3415c don't expose register_t 2020-12-06 02:23:12 +00:00
christos
d52bc7250a fix hppa 2020-12-05 23:02:25 +00:00
sjg
2699f59671 Don't let gcov mess up results 2020-12-05 22:51:34 +00:00
christos
ab55d2aa89 Use __vaddr_t since we don't expose vaddr_t by default to userland. 2020-12-05 22:49:50 +00:00
mrg
e9b9ccbba9 bump version for xorg-server 1.20.10. 2020-12-05 22:44:57 +00:00
christos
3909f68e34 fix arm build 2020-12-05 22:24:26 +00:00
christos
5275d28a1c fix alpha build. 2020-12-05 22:14:44 +00:00