Commit Graph

283509 Commits

Author SHA1 Message Date
christos
417fcb580b add aarch64 bits 2020-12-05 21:26:43 +00:00
rillig
eda91dc8cf make(1): indent parse.c with tabs instead of spaces 2020-12-05 19:46:04 +00:00
chs
4650d4123d update the rump copy of uvm_page_unbusy() to match the real version,
in particular handle PG_PAGEOUT.  fixes a few atf tests.
2020-12-05 19:08:50 +00:00
rillig
37d00948af make(1): reduce indentation in ParseDependencySourceKeyword 2020-12-05 19:06:51 +00:00
rillig
4210bc2dad make(1): extract ParseDependencySourceWait 2020-12-05 19:03:45 +00:00
tsutsui
898b1f3481 Inform the default installation directory in the official ftp server. 2020-12-05 18:57:21 +00:00
tsutsui
5f7aa7d27b Use proper release version strings ("9.1" rather than "91") in banners.
Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).

I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.

Worth to pullup to netbsd-9.
2020-12-05 18:52:06 +00:00
rillig
ee9186d684 make(1): define constants for enum zero-values 2020-12-05 18:38:02 +00:00
tsutsui
865f9b84f3 Explicitly sort set names fetched via ftp nlist.
Several binary sets are stored as symbolic links on releases and
it seems some ftpd doesn't sort nlist outputs by name in such case.

Worth to pullup to netbsd-9 and netbsd-8.
2020-12-05 18:33:47 +00:00
tsutsui
15362761dc Appease awk warnings on suppressing dmesg timestamps.
> awk: warning: escape sequence `\[' treated as plain `['
>  source line number 1
>  context is
>         { h=$0; >>>  gsub("^[ <<<
> awk: warning: escape sequence `\]' treated as plain `]'
>  source line number 1

Should be pulled up to netbsd-9.
2020-12-05 18:29:50 +00:00
tsutsui
58eaf7a465 Add missing md_get_partition_range() that causes installation failure.
Also reported by Martin Trusler on testing hp300 miniroot.
Should be pulled up to netbsd-9 and netbsd-8.
2020-12-05 18:27:39 +00:00
tsutsui
88b29fde6c Add modules set for default sets on miniroot installation.
Should be pulled up to netbsd-9 and netbsd-8.
2020-12-05 18:24:10 +00:00
thorpej
d54d6b7a66 Refactor interval timers to make it possible to support types other than
the BSD/POSIX per-process timers:

- "struct ptimer" is split into "struct itimer" (common interval timer
  data) and "struct ptimer" (per-process timer data, which contains a
  "struct itimer").

- Introduce a new "struct itimer_ops" that supplies information about
  the specific kind of interval timer, including it's processing
  queue, the softint handle used to schedule processing, the function
  to call when the timer fires (which adds it to the queue), and an
  optional function to call when the CLOCK_REALTIME clock is changed by
  a call to clock_settime() or settimeofday().

- Rename some fuctions to clearly identify what they're operating on
  (ptimer vs itimer).

- Use kmem(9) to allocate ptimer-related structures, rather than having
  dedicated pools for them.

Welcome to NetBSD 9.99.77.
2020-12-05 18:17:01 +00:00
tsutsui
f018384299 The kernel and X sets should be specified in MD miniroot scripts.
Otherwise they are not listed at least on ftp installation.
The problem was reported by Martin Trusler on port-hp300@:
 https://mail-index.netbsd.org/port-hp300/2020/11/21/msg000174.html

Should be pulled up to netbsd-9 and netbsd-8.
2020-12-05 18:16:11 +00:00
rillig
a64151bf73 make(1): remove redundant assignments 2020-12-05 18:15:40 +00:00
rillig
14d2618057 make(1): add test for unknown modifier in :C modifier replacement 2020-12-05 18:13:44 +00:00
rillig
56cb5728d6 make(1): remove unused parameter from meta_needed 2020-12-05 17:46:41 +00:00
rillig
0ca5c11203 make(1): remove unused parameter from JobOutput 2020-12-05 17:44:22 +00:00
thorpej
210879f628 Remove unnecessary inclusion of <sys/timevar.h> 2020-12-05 17:42:29 +00:00
thorpej
33e6765fa8 Remove unnecessary inclusion of <sys/timevar.h>. 2020-12-05 17:33:53 +00:00
rillig
e5d879283b make(1): refuse to use vsnprintf that is prone to buffer overflows
Several parts of make intentionally depend on the guarantee that
snprintf and vsnprintf do not overflow their buffer.  If an
implementation cannot provide this guarantee, refuse to use it.
2020-12-05 17:25:41 +00:00
rillig
c09eaa11ae make(1): remove unused variable from ArchFindMember 2020-12-05 17:17:37 +00:00
rillig
1dc8f59fce make(1): extract ExpandChildrenRegular from ExpandChildren 2020-12-05 17:12:02 +00:00
rillig
a4609fef81 make(1): indent suff.c with tabs instead of spaces
ExpandChildren is way too deeply nested.
2020-12-05 16:59:47 +00:00
wiz
aa6a229af8 pkg_install updated to 20201205 2020-12-05 16:23:08 +00:00
wiz
f5c2953af3 Merge pkg_install-20201205 2020-12-05 16:21:26 +00:00
rillig
b5df368a51 make(1): don't concatenate identifiers in Targ_PrintType
Concatenating identifiers makes it difficult to spot them when searching
the code.  This gets rid of the special case for OP_MEMBER and MEMBER.

The same pattern is applied in the DEBUG macro, by the way.
2020-12-05 15:57:02 +00:00
rillig
5737b54186 make(1): indent targ.c with tabs instead of spaces
Explain the tricky details of GNode_Free.

Invert a condition in Targ_PrintNode to reduce the overall indentation.
2020-12-05 15:35:34 +00:00
rillig
026824484e make(1): extract ShuffleStrings from ApplyModifier_Order 2020-12-05 15:31:18 +00:00
jdc
975e906d8f When matching, try a read in case this is an optional device and isn't
actually present.
2020-12-05 15:08:21 +00:00
jdc
0a676d496a Return "match_result", not "1". Pointed out by jmcneill. 2020-12-05 15:02:29 +00:00
rillig
808fed06b5 make(1): indent remaining code of var.c with tabs instead of spaces 2020-12-05 14:55:17 +00:00
jdc
9b06680388 Make sure that we set sc->sc_sme to NULL in failure cases in order to avoid
calling sysmon_envsys_unregister() with an invalid struct when we detach.
2020-12-05 14:50:33 +00:00
jdc
e79fb53ef9 When matching, try a read in case this is an optional device and isn't
actually present.
Make sure that we set sc->sc_sme to NULL in failure cases and when we
detach in order to avoid calling sysmon_envsys_unregister() with an
invalid struct.
2020-12-05 14:48:09 +00:00
rillig
9515ff74a5 make(1): indent large parts of var.c with tabs instead of spaces
The few remaining functions need to be cleaned up before being indented
further, to reduce the overall indentation.
2020-12-05 14:28:09 +00:00
rillig
a67bc1e4cd make(1): improve explanation of tests for the SysV modifier 2020-12-05 13:01:33 +00:00
skrll
95cc57f231 spaces to tab 2020-12-05 11:18:21 +00:00
mrg
7cd70c16d8 for boot -1, don't attach more than the boot CPU most others 2020-12-05 08:04:51 +00:00
sjg
da0e1356d7 Use .MAKE.OS if we can 2020-12-05 03:42:15 +00:00
kre
5cea56c875 Correct typo in previous. 2020-12-04 23:04:58 +00:00
kardel
3f3878dd72 PR kern/55839:
handle multiple nvme_rescan()s correctly by doing the
name-space identify only once per nsid.

fixes issue where modloading triggers multiple
rescans.
2020-12-04 23:03:11 +00:00
rillig
4bdfa77c7f make(1): extract UnexportEnv from Var_UnExport 2020-12-04 22:47:57 +00:00
rillig
ef3e9c527f make(1): extract UnexportVar from Var_UnExport 2020-12-04 22:35:40 +00:00
jmcneill
9e0fac6ea6 gicv3: Only use 1 of N SPI distribution when the feature is available.
A GICv3+ implementation is not guaranteed to support 1 of N SPI
distribution. Support for this feature is indicated in GICD_TYPER.No1N.

When No1N=1, route all interrupts to the primary PE by default and only
allow a single CPU target when updating affinity.
2020-12-04 21:39:26 +00:00
christos
fe1e39fb82 Add __null_sentinel 2020-12-04 20:39:10 +00:00
christos
7b2fac7c35 add __null_sentinel (from FreeBSD) 2020-12-04 20:38:44 +00:00
rillig
35e25f72f1 make(1): rename parse functions
The word "Do" was not necessary.
2020-12-04 20:23:33 +00:00
rillig
19fb9dcba2 make(1): inline Lst_Enqueue 2020-12-04 20:11:48 +00:00
rillig
dfc53e1755 make(1): inline Vector_Done 2020-12-04 20:08:07 +00:00
christos
7943068f01 new OpenSSH 2020-12-04 18:44:49 +00:00