rillig
ee41c9d210
make(1): extract logging from ApplyModifiers into separate functions
...
These two logging blocks are massive enough to disturb the reading flow
of the remaining code.
Even without these two blocks, ApplyModifiers is still 250 lines long,
which is quite much.
2020-09-28 21:11:05 +00:00
rillig
99967cf4ab
make(1): move variable modifier :sh into separate function
2020-09-28 21:01:53 +00:00
rillig
e3e4182775
make(1): make debug logging in var.c compatible to C90
...
The ... ellipsis for macros is only available since C99.
2020-09-28 20:55:20 +00:00
rillig
ae6e2b2c4b
make(1): make debugging code shorter
2020-09-28 20:46:11 +00:00
martin
6b2c269297
PR 55379: avoid creating bogus /etc/fstab lines for /dev/cd* if no
...
cdrom is available.
2020-09-28 18:51:34 +00:00
martin
07c7ef657d
PR 55378: do not assume RAW_PART to be either 2 or 3
2020-09-28 18:40:23 +00:00
martin
7886d74d77
PR 55377: mark boot partitions in the partition size display, as suggested
...
by Izumi Tsutsui (minor modifications + all bugs by me)
2020-09-28 18:13:25 +00:00
thorpej
f596e4cb5b
Remove a no-longer-accurate comment.
2020-09-28 16:27:47 +00:00
roy
4d511cd47d
ifconfig: Just look at if_data->ifi_link_state for carrier
...
It should be the sole source of truth.
if_data is also carried in ifa_data from getifaddrs(3) which saves
more ioctl calls.
2020-09-28 13:50:22 +00:00
jakllsch
fd597c5490
fix typo that prevented bytes/physsect reporting from working
2020-09-28 12:47:49 +00:00
jmcneill
5abef1666f
faa_a4x_bst is no more
2020-09-28 12:15:23 +00:00
jmcneill
ded60d98d5
faa_a4x_bst is gone
2020-09-28 12:14:47 +00:00
skrll
9f476b65f4
Only set pmap_devmap_bootstrap_done if something gets mapped.
...
Think acpi_platform_devmap
2020-09-28 12:04:19 +00:00
jmcneill
c30892ca9f
Get rid of a4x bus_space tag from fdtbus_attach_args. The only consumer
...
of this was various com(4) glue so modify all of that to use the new
com_init_regs_stride instead.
2020-09-28 11:54:22 +00:00
jmcneill
8efd0a8e92
Default reg-shift is 2, not 0, for DW APB UART
2020-09-28 11:34:47 +00:00
jmcneill
07567a47ca
Auto-detect DW APB UART FIFO length and print the FIFO length when enabled
...
instead of just "working fifo".
2020-09-28 11:33:15 +00:00
jmcneill
04135eb260
Use com_init_regs_stride instead of a4x tag
2020-09-28 11:32:19 +00:00
nia
9c6c6fa2f4
unbreak. bsd.files.mk needs to have an includes target, see also
...
share/wscons/fonts/Makefile
2020-09-28 06:04:08 +00:00
macallan
afd3787898
first step towards r5xx support:
...
- no CRTC programming yet, we just use whatever mode the (open)firmware hands
us
- palette control, fb location etc. all work
- hardware acceleration for character drawing, scrolling etc. works
- hardware cursor works
... tested & still works on various radeons in various macppc machines
2020-09-28 05:43:58 +00:00
macallan
08cefa9647
moar registers
2020-09-28 05:38:41 +00:00
thorpej
6aaab0fcf5
qemu device for INSTALL, too.
2020-09-28 03:48:12 +00:00
sjg
2f6ec61b00
Revert last
2020-09-28 03:34:07 +00:00
sjg
858c94d56b
more unit-tests
2020-09-28 03:32:51 +00:00
thorpej
cdacf5fee4
Fix typo in rev 1.408.
2020-09-28 03:30:47 +00:00
simonb
bfa322536e
Whitespace alignment nit.
2020-09-28 02:44:34 +00:00
sjg
af1c8532d3
Remove unnecessary dieQuietly calls
2020-09-28 02:06:27 +00:00
sjg
d9de394581
Ensure that parse errors report 'stopped in'
2020-09-28 01:24:34 +00:00
simonb
e40749edde
Protect where the bootinfo esym value is less than the kernel "end"
...
symbol by setting the end of kernel marker to the greater of these
two values.
XXX: elf2ecoff bug??
2020-09-28 01:20:29 +00:00
rillig
22b1a300bf
make(1): format job.h consistently
2020-09-28 00:13:03 +00:00
rillig
c22794195d
make(1): split Job.jobPipe into 2 separate fields
...
Just because these file descriptors have to be in an array when they are
created is not reason enough to keep this array and a few access macros
in the Job struct. It's better to have separate fields, as they can be
documented independently.
2020-09-28 00:06:36 +00:00
thorpej
6a5efa09ea
Add a "qemu" driver to access services provided by the Qemu VM. First
...
order of business is to use the Qemu "get-time" console service call as
the perferred system timecounter.
2020-09-27 23:59:37 +00:00
rillig
1937e04f2b
make(1): in JobCreatePipe, use descriptive field names
2020-09-27 23:56:25 +00:00
rillig
4b03128094
make(1): fix indentation in JobCreatePipe
2020-09-27 23:52:02 +00:00
thorpej
a03d1cea5d
Don't use the PCC timecunter on emulated Qemu systems.
2020-09-27 23:17:36 +00:00
thorpej
22dcd2df97
prom_is_qemu -> alpha_is_qemu, and export it outside of prom.c.
2020-09-27 23:16:10 +00:00
rillig
596f47a11c
make(1): rewrite documentation of Job
...
The comment above a struct is supposed to give a high-level overview.
The previous comment didn't do that but instead listed the struct fields
in declaration order in a numbered list, which was not helpful.
2020-09-27 23:12:12 +00:00
rillig
74e0563954
make(1): improve documentation of CachedDir and Dir_AddDir
2020-09-27 22:17:07 +00:00
christos
30114e3891
DIOCCACHESYNC takes an int argument, pass it through.
2020-09-27 21:39:08 +00:00
rillig
c4def5ee7a
make(1): normalize whitespace in source code
...
There is no more space tab. Either only tabs or only spaces or tabs
followed by spaces, but not spaces followed by tabs.
2020-09-27 21:35:16 +00:00
mrg
63c24fdcdf
re-run native-gmp for gmp 6.2.0 and arm: run with a v4 toolchain
...
instead of a v7 toolchain, so it works on all.
should fix latest build mess.
future: test the speed of this vs armv[567] specific on armv[567].
2020-09-27 21:19:36 +00:00
rillig
611c8d45dc
make(1): mark test for the :Ox variable modifier as probabilistic
...
It fails very seldom, but it can.
2020-09-27 20:13:44 +00:00
rillig
84d053a33b
make(1): add test for merging long lines of job output
2020-09-27 20:11:33 +00:00
roy
e13af7a251
ifwatchd: remove SIOCGIFDATA and SIOCGIFMEDIA ioctls
...
getifaddrs(3) and route(4) provide all the data we need.
2020-09-27 19:55:21 +00:00
roy
9fc1f4f01f
Note that opening and closing the tun/tap devices affects link state.
...
And how this influences Duplicate Address Detection.
2020-09-27 19:36:54 +00:00
roy
25752de6ab
tun: Report link state based on if the interface has been opened or not
...
This mirrors tap(4).
2020-09-27 19:25:54 +00:00
rillig
f468c552f6
make(1): remove nonexistent function from header
2020-09-27 19:17:03 +00:00
roy
039adaac92
bridge: When an interface joins then mark addresses on it as tentative
...
The exact flow is detatch addresses, join bridge and then mark detached
addresses as tentative.
This ensures that Duplicate Address Detection for the joining interface
are performed across all members of the bridge.
2020-09-27 19:16:28 +00:00
rillig
0490d42245
make(1): fix type of Shell.noPLen
2020-09-27 19:15:43 +00:00
rillig
2da4d4059e
make(1): reduce line noise in Job_ParseShell
...
The generated code is exactly the same.
2020-09-27 19:13:46 +00:00
roy
7f6adc1477
Wups, forgot to commit this with vether.
2020-09-27 19:08:11 +00:00