Commit Graph

281293 Commits

Author SHA1 Message Date
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
rillig
23b5e3ef8a make(1): fix indentation in Job_ParseShell 2020-09-27 19:06:47 +00:00
jdolecek
6eddb6bb08 add -s option for 'power' command, this instructs the controller to save
the value so it persists resets/whatnot; the NVMe specification lists
this as optional, so this only works if the controller supports it
2020-09-27 18:17:35 +00:00
rillig
228b243e5a make(1): add test cases for the :range variable modifier 2020-09-27 18:11:31 +00:00
martin
dd0cd7720b If there is no current partitioning manager assume we are editing the
current system and make target_already_root() return true.
Fixes various fallout when using sysinst post installation.
2020-09-27 17:51:48 +00:00
martin
2298856256 Fix display of timezone selection menu 2020-09-27 17:36:40 +00:00
jdolecek
895d4c1ad7 print current power state and workload as separate values for
'nvmectl power nvme0'
2020-09-27 17:27:07 +00:00
rillig
c5520b1066 make(1): fix punctuation and add paragraphs in config.h comments 2020-09-27 17:17:01 +00:00
rillig
304dea8c2e make(1): in the Buffer functions, rename bp to buf
It's not necessary to emphasize on the pointerness of the variable since
that's obvious from the context.
2020-09-27 16:59:02 +00:00
christos
09cc5f64e5 de-quadruplicate, remove unused argument 2020-09-27 16:58:11 +00:00
rillig
a7bebbf776 make(1): rename Buf_Size to Buf_Len
The new name better matches the field name Buffer.len as well as the
variables around the calls to this function.
2020-09-27 16:52:22 +00:00
jdolecek
09685c0005 show APSTA support status in identify 2020-09-27 16:45:21 +00:00
jdolecek
390f933191 add definition of the bit indicating support for APSTA 2020-09-27 16:44:24 +00:00
rillig
886c644e5d make(1): prefer positive array index in Buf_AddByte
Ideally the condition for allocating more memory would have been
(old_len + 2 > bp->cap) since that's the actually intended wording.  But
GCC 5 neglected to generate good code for that on x86_64, so be it.
2020-09-27 16:38:32 +00:00
rillig
a549307932 make(1): rename Buffer fields
It was confusing to have a function Buf_Size that returns buf->count
even though there is also buf->size.
2020-09-27 16:21:06 +00:00
rillig
f139c2a2ab make(1): replace direct access to Buffer fields with inline function
This way, renaming the fields of the buffer is restricted to only buf.h
and buf.c.
2020-09-27 16:10:07 +00:00