jmcneill
f2b9092d8a
Retry clearing WDCTL_RST a few times before giving up. Makes SATA work in
...
Solidrun Honeycomb LX2K.
2020-12-20 00:14:30 +00:00
mrg
3996f2220f
ddb: add two new modifiers to "show pool" and "show all pools"
...
- /s shows a short single-line per pool list (the normal output
is about 10 lines per.)
- /S skips pools with zero allocations.
2020-12-19 23:38:21 +00:00
mrg
e17ac28afe
update several items that are done or dead.
2020-12-19 23:32:36 +00:00
jmcneill
6563adddeb
No need to allocate bounce buffers if we have a single range that covers
...
all of physical memory.
2020-12-19 23:22:18 +00:00
rillig
ab975bef9f
make(1): fix error message for .info/.warning/.error without argument
...
Previously, the error message was "Unknown directive", which was
obviously wrong. The new error message is "Missing argument".
2020-12-19 22:33:11 +00:00
thorpej
1c3a055871
Use sel{record,remove}_knote().
2020-12-19 22:11:57 +00:00
thorpej
1142b3532f
malloc(9) -> kmem(9)
2020-12-19 22:10:56 +00:00
rillig
7772d52765
make(1): error out if .undef has not exactly 1 argument
2020-12-19 22:10:17 +00:00
thorpej
8cda207fa4
Use sel{record,remove}_knote().
2020-12-19 21:54:42 +00:00
mrg
591c0afc0b
implement boot -d for arm64.
...
could be done at the end of initarm() except it hangs currently.
this gets you a db> prompt before devices are configured.
ok @skrll.
2020-12-19 21:54:00 +00:00
thorpej
c2d090fa74
malloc(9) -> kmem(9)
2020-12-19 21:48:04 +00:00
thorpej
adf503e080
Use sel{record,remove}_knote().
2020-12-19 21:46:40 +00:00
thorpej
24f4e33c2b
malloc(9) -> kmem(9)
2020-12-19 21:38:30 +00:00
thorpej
dfef286955
malloc(9) -> kmem(9)
2020-12-19 21:27:52 +00:00
thorpej
9df0395f64
Use sel{record,remove}_knote().
2020-12-19 21:25:03 +00:00
rillig
715d1d3bec
make(1): extract Var_DeleteVar from Var_Delete
2020-12-19 20:47:24 +00:00
rillig
f11ec78a23
make(1): add tests for undefining variables with exotic names
2020-12-19 20:35:39 +00:00
rillig
a4d0870803
make(1): extract Var_Undef from ParseDirective
2020-12-19 20:16:36 +00:00
rillig
863c2319ae
make(1): rewrite tests for misspelled .elif directive
...
Put the simple tests at the top, demonstrating that there are already
some cases in which the misspelled directive is detected. It's not
detected though if the surrounding conditional branch is skipped.
2020-12-19 19:49:01 +00:00
jmcneill
4ef37a717b
ahci_exec_fis: wait for the correct amount of time when AT_WAIT is set
2020-12-19 19:12:02 +00:00
jmcneill
7d76b69f68
ata_timeout: restore spl in ATACH_RECOVERING path
2020-12-19 18:09:44 +00:00
rillig
5df214d4aa
make(1): extract ParseSkippedBranches from ParseReadLine
2020-12-19 17:54:29 +00:00
rillig
0cf31774e7
make(1): extract ParseForLoop from ParseReadLine
2020-12-19 17:49:11 +00:00
rillig
5ae56910c5
make(1): rename mode constants for ParseGetLine to be more expressive
2020-12-19 16:05:33 +00:00
rillig
8dfbff51e9
make(1): add test for null byte in .for loop body
2020-12-19 16:00:17 +00:00
rillig
5cd27da0e0
make(1): fix documentation of GetLineMode
...
ParseGetLine always returns a logical line, even for PARSE_RAW.
2020-12-19 15:29:28 +00:00
thorpej
5f97194d43
- malloc(9) -> kmem(9)
...
- Use sel{record,remove}_knote().
2020-12-19 15:18:04 +00:00
thorpej
66b33a403f
Use sel{record,remove}_knote().
2020-12-19 15:12:17 +00:00
rillig
029d9ed461
make(1): improve comments for .for loops
2020-12-19 13:31:37 +00:00
rillig
ba24c12f6a
make(1): reduce debugging details in Parse_SetInput
...
The address of readMoreArg is hardly useful when stepping through this
part of the code, therefore omit it. Instead of mentioning the exact
function names of the data source, describe them in words, which helps
especially in the case of .for loops.
2020-12-19 13:30:00 +00:00
rillig
8b6f21ea9f
make(1): rename ForIterate to ForReadMore
2020-12-19 13:20:17 +00:00
rillig
af7e852811
make(1): rename parameter line to lineno
2020-12-19 13:16:25 +00:00
nia
c1f0400234
ossaudio(3): Do not reuse results from AUDIO_GETBUFINFO in SETINFO
...
Should help PR 55876.
2020-12-19 12:55:28 +00:00
rillig
4a31d445af
make(1): document enum GetLineMode
2020-12-19 12:48:59 +00:00
rillig
959dba2f43
make(1): add test for backslash continuation lines in .for loops
...
This ensures that the line numbers for messages are the expected onces
in .for loops.
While experimenting with the backslash continuation lines, I noticed
that the reported line numbers for these are based on the number of
completely parsed physical lines, which nicely cancels out the + 1 that
has to be added for producing human-readable 1-based line numbers. It
would be more correct to report the parse errors on the first affected
line.
2020-12-19 12:40:00 +00:00
rillig
c1c7380a9a
make(1): fix line numbers in .for loops (since 2007-01-01)
2020-12-19 12:24:46 +00:00
rillig
e8319c8295
make(1): demonstrate wrong line numbers in .for loops, since 2007-01-01
2020-12-19 12:14:59 +00:00
rillig
44219d1a0a
make(1): merge parameter of ParseRawLine into return value
2020-12-19 10:57:17 +00:00
rillig
89c1ddf072
make(1): clean up variable names in ParseGetLine and ParseRawLine
2020-12-19 10:49:36 +00:00
rillig
5ca350977a
make(1): fix variable names in UnescapeBackslash
...
The previous variable names had been chosen at a time when compilers
didn't merge variables into the same registers. Luckily, these times
are gone, and it's no longer necessary to use a variable for 2 or more
completely unrelated purposes.
2020-12-19 10:18:46 +00:00
skrll
8020d92396
Tweak a comment
2020-12-19 09:02:32 +00:00
rin
ae5bdb2a50
Fix previous; define missing lfs_version.
2020-12-19 08:51:03 +00:00
skrll
44b32f72df
Various clean ups
...
- cache node where possible
- remove a compiler warning
- improve a comment (the round_page might not be needed)
2020-12-19 08:09:31 +00:00
rin
eb10415da2
ufs_open(): Check fs->lfs_version ifdef LIBSA_*L*FS, not LIBSA_*F*FS.
...
This was harmless for FFS variants, that define LIBSA_FFSv[12], not LIBSA_FFS.
2020-12-19 07:19:30 +00:00
thorpej
2682e5ac8e
Use sel{record,remove}_knote().
2020-12-19 01:18:58 +00:00
thorpej
7861a2d7ca
malloc(9) -> kmem(9)
2020-12-19 01:12:21 +00:00
rillig
ecc876b838
make(1): clean up ParseRawLine
2020-12-19 00:27:34 +00:00
rillig
0c5e588e71
make(1): extract ParseRawLine from ParseGetLine
2020-12-19 00:20:57 +00:00
rillig
e7a3ec57b0
make(1): clean up another local variable in ParseGetLine
2020-12-19 00:02:34 +00:00
rillig
7b504ab648
make(1): clean up UnescapeBackslash
2020-12-18 23:18:08 +00:00