christos
678ed6abf6
no need to specify SRCS
2021-02-28 00:43:24 +00:00
christos
692ead559b
remove unused
2021-02-28 00:42:22 +00:00
rillig
b19a5288ba
lint: add type information to 'possible pointer alignment problem [135]'
...
This warning occurs more than 7400 times in a regular NetBSD build, and
without giving any type information, leaves the reader clueless about
what the underlying issue might be. Add type information since that is
a no-brainer to implement.
2021-02-28 00:40:22 +00:00
rillig
f6dafdc19b
lint: skip alignment computation if possible
...
Testing a global variable is simpler than calling a 20-line function.
No functional change.
2021-02-28 00:28:47 +00:00
rillig
2659adfbbb
lint: rename getbound to alignment_in_bits
...
No functional change.
2021-02-28 00:23:55 +00:00
rillig
1a77a0d07b
tests/lint: add test for 'possible pointer alignment problem [135]'
2021-02-28 00:20:19 +00:00
christos
7c9ac6ddef
Don't define the copy rules if we don't have X sources
2021-02-27 22:37:54 +00:00
rin
6350bdacf3
Clean up file obsoleted by migration to usr.bin/resize.
2021-02-27 21:13:09 +00:00
rin
0ece553e21
Switch to intr_establish_xname().
2021-02-27 20:43:58 +00:00
palle
55070ac1d2
sun4v: update TODO file with OpenFirmware interface related improvements
2021-02-27 18:29:38 +00:00
palle
2d8aca599e
sun4v: update TODO file with status on sun4v - kernel and userland runs without crashing now - next up is network interfaces
2021-02-27 18:19:57 +00:00
palle
ab7c91030b
sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one introduced in revision 1.21
2021-02-27 18:10:46 +00:00
rillig
5398aad6aa
tests/lint: add tests for enum/int mismatch
2021-02-27 18:01:29 +00:00
rillig
19df76da09
tests/lint: allow 'expect' comments to refer to other lines
...
This allows /* expect+1: ... */ to refer to the following line, as well
as /* expect-1: ... */ to refer to the previous line. This avoids
horizontal scrolling to see the expectations, it also allows these
expectations comments to be more verbose, mentioning the whole
diagnostic in many cases.
The 'expect' comments don't need to be at the end of a line anymore
since that was rather surprising. The one 'expect' comment that had not
been at the end of the line was in d_c99_bool_strict.c and was not
intended to be ignored.
2021-02-27 17:16:48 +00:00
christos
ec2d1eb5c3
Bump warns
2021-02-27 16:08:08 +00:00
christos
66a2df677d
Add a maintainable version of resize, with a copy target and a header that
...
provides all the glue needed without other X headers.
2021-02-27 15:36:39 +00:00
rillig
99313809d2
tests/lint: remove stray warning 278 from test for warning 241
2021-02-27 15:29:15 +00:00
rillig
99ea8b90fb
lint: rename confusing local variable
...
The variable name rtp is reserved for the type of the right-hand
operand.
No functional change.
2021-02-27 15:26:30 +00:00
rillig
bc7ef38ff0
tests/lint: add test for 'dubious operation on enum' [241]
2021-02-27 14:54:55 +00:00
jmcneill
f17c765276
machine/cpufunc.h -> arm/cpufunc.h for the benefit of non-evbarm ports
2021-02-27 14:22:07 +00:00
rillig
88e93ce52b
tests/lint: add more tests for enum mismatch
2021-02-27 13:43:36 +00:00
simonb
35182b25fa
Use "static" in the function intro if the function is static.
2021-02-27 13:02:42 +00:00
mrg
9ad7ebadaf
changes in bozohttpd 20210227:
...
o new support for content types: .tar.bz2, .tar.xz, .tar.lz,
.tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
.lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar. should fix
netbsd PR#56026:
MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid
2021-02-27 12:55:25 +00:00
mrg
9402120ed8
belated call version 20210211 after previous memory leak fix.
2021-02-27 12:36:46 +00:00
nia
3b21afdc6a
ctwmrc: remove SloppyFocus keyword, which breaks xev
...
the default still seems to be sloppy focus.
is this a bug? does ctwm use a different definition of sloppy focus to
the rest of the world? we may never know
2021-02-27 12:28:17 +00:00
nia
4ac5e7bd9a
add ixl(4) properly
2021-02-27 11:06:32 +00:00
nia
cfea959cbb
add ixl(4)
2021-02-27 11:05:38 +00:00
nia
1a72d6a424
spi.4: mention history of ioctl interface
2021-02-27 09:54:59 +00:00
nia
99ad362525
iic.4: Add FILES section. Fix copypasto.
2021-02-27 08:59:24 +00:00
nia
3c780445e5
Describe the i2c ioctl interface
2021-02-27 08:56:14 +00:00
nia
1e4ba3da61
iic.4: add ssdfb
2021-02-27 08:43:15 +00:00
nia
257b759e16
spi.4: Add a FILES section
2021-02-27 08:38:14 +00:00
nia
76102e93c6
Document the userspace /dev/spi interface to the best of my ability.
...
Add ssdfb(4).
Based mostly on a mailing list post by mlelstv;
https://mail-index.netbsd.org/port-arm/2019/02/07/msg005454.html
2021-02-27 08:36:05 +00:00
thorpej
1344aafb72
Un-do a bunch of misguided code sharing. It's not really shared if it's
...
full of platform-specific #ifdefs:
- ofwoea_batinit() is gone; just do what's needed early in macppc / ofppc
initppc() functions.
- Get a bunch of Mac-specific stuff out of ofwoea_initppc().
2021-02-27 02:52:48 +00:00
thorpej
c9906b54e3
Don't put #ifdefs in prep_initppc(). Instead, let callers specify the
...
additional BAT-mapped regions they care about.
2021-02-27 01:31:23 +00:00
thorpej
88fd56785b
In ofwoea_initppc(), call oea_init() after getting the bootpath, etc.
...
Also, add a comment explaining why it's actually necessary to clear
PSL_IP after installing the kernel's exception vectors.
2021-02-27 01:22:18 +00:00
thorpej
98ca83540a
Rather than putting it on the caller, just let oea_iobat_add() decide
...
whether to call mpc601_ioseg_add().
2021-02-27 01:16:52 +00:00
thorpej
7b5877aa6c
Split cpu_model_init() into cpu_features_probe() and cpu_features_enable()
...
so that early bootstrap can do those two steps independently, if needed.
Continue to provide a cpu_model_init() wrapper for now.
2021-02-26 21:15:20 +00:00
christos
02b62279a7
arrange for tools build
2021-02-26 19:25:12 +00:00
christos
f09b31947c
Arrange for tools build
2021-02-26 19:24:47 +00:00
jakllsch
531ea916a2
Add /etc/ip6addrctl.conf as optional file so it is backed up.
2021-02-26 18:39:10 +00:00
rillig
32eb951e74
cgram: don't beep if the window is resized
2021-02-26 15:18:40 +00:00
rillig
550a2d894f
cgram: place the 'solved' marker nearer to the text
...
This way, it cannot be overlooked as easily as before. It also doesn't
change the position of the keyboard help text anymore. Only if there is
not enough space, the 'solved' marker is put into the bottom line.
2021-02-26 15:15:34 +00:00
rillig
531f30a38a
cgram: make the 'solved' stand out more
...
Suggested by Weitian LI via [1].
[1] https://github.com/NetBSD/src/commit/efec6410b2b5a736
2021-02-26 14:55:37 +00:00
nia
46aa89cc62
Remove references to removed FDDI and Token Ring drivers
2021-02-26 11:12:45 +00:00
nia
3908a1c070
add new evbarm device driver man pages
2021-02-26 11:05:33 +00:00
nia
c38e5b3db8
Remove extremely outdated list of supported devices
2021-02-26 10:56:48 +00:00
rin
5ea7ac8302
Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
...
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.
2021-02-26 10:54:12 +00:00
rin
acddc77596
Sort opt_*.h. No binary changes.
2021-02-26 10:47:24 +00:00
wiz
68242e9d67
More markup. New sentence, new line.
2021-02-26 10:44:31 +00:00