rillig
80fba7d531
make(1): clean up memory handling in VarAssign_EvalShell
2020-12-20 14:52:16 +00:00
rillig
0b4b42e295
make(1): clean up memory handling in Parse_DoVar
2020-12-20 14:48:35 +00:00
rillig
431ba0ec4b
make(1): remove constant parameter from MakeMode
2020-12-20 14:39:46 +00:00
rillig
0307413016
make(1): change return type of Var_Value to FStr
2020-12-20 14:32:13 +00:00
rillig
0462095db2
make(1): use FStr in VarNew
2020-12-20 13:50:10 +00:00
rillig
03f1822098
make(1): eliminate libName_freeIt from Arch_ParseArchive
2020-12-20 13:46:27 +00:00
rillig
7b3d8cbe3a
make(1): return FStr from Var_Parse
...
This reduces the number of variable declarations at the call sites.
2020-12-20 13:38:43 +00:00
rillig
49eb293fd6
make(1): clean up memory handling in CondParser_String
2020-12-20 13:03:48 +00:00
rillig
81b5e18281
make(1): export FStr and MFStr
...
These types are a replacement for the pattern "var + var_freeIt" that
enforces these two variables to be updated together.
2020-12-20 12:53:34 +00:00
rillig
37fbcac361
make(1): clean up memory handling in CondParser_String
2020-12-20 12:46:49 +00:00
skrll
4b7c50b82c
Remove old part of comment
2020-12-20 12:27:20 +00:00
palle
da2019dbf0
sun4v: add comment in sun4v_tl1_ptbl_miss code path - no functional change
2020-12-20 11:58:58 +00:00
rillig
8f72c319f5
make(1): document memory handling in ApplyModifiers
2020-12-20 11:38:51 +00:00
skrll
1f8e1b91a7
Some KNF. NFC.
2020-12-20 11:11:34 +00:00
rillig
0af8f23f02
make(1): replace freeIt with FStr in EvalUndefined
...
Previously, the parameter out_freeIt was not guaranteed to be
initialized in every case, at least when looking only at EvalUndefined.
This contradicted the variable name.
Replace the two parameters with a single FStr to ensure that these
variables are always initialized together.
2020-12-20 10:59:21 +00:00
jmcneill
e044f7fc0b
style fix
2020-12-20 10:34:33 +00:00
jmcneill
2c1310a89c
Managment -> Management
2020-12-20 10:19:30 +00:00
jdc
0ec0e42528
For the E250:
...
set fans to medium speed when attaching and full speed when detaching.
remove unused PS fan definition.
In general:
return early from attach if the device isn't present.
handle errors from sysmon during attach so that detach doesn't crash.
try to handle errors when acquiring the iic bus during detach.
2020-12-20 09:08:15 +00:00
skrll
03903ecbb2
Improve the English in the previous comment fix.
2020-12-20 08:26:32 +00:00
rillig
19824f4691
make(1): replace FStr_Assign with separate initialization functions
...
In GetVarnamesToUnexport, there is no need to free the local FStr since
the only place where it is assigned an allocated string is at the very
end.
Having separate functions for the two main use cases of a possibly
allocated string makes the calling code simpler. This is a preparatory
commit for making the memory allocation in ApplyModifiers easier to
understand.
2020-12-20 00:57:29 +00:00
rillig
e0de850d21
make(1): extract string functions from ApplyModifier_To
2020-12-20 00:47:21 +00:00
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