Skip to content

Commit

Permalink
Update boot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Feb 25, 2023
1 parent 16e5764 commit 0be2a4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions developer/boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ The lua environment in the FreeBSD bootloader has some functions starting with `
* `loader.fb_drawrect()`
* `loader.term_drawrect()`

This list was generated with
This list was generated on a system on which the FreeBSD source code is installed in `/usr/src` using the following command:

`grep -r '^lua_' /usr/src/stand/liblua/*.c | cut -d ":" -f 2 | sed -e 's|lua_|loader.|g' | sed -e 's|loader.State \*L||g' | sed -e 's|^|* \`|g' | sed -e 's|)|)\`|g'`.
```
grep -r '^lua_' /usr/src/stand/liblua/*.c | cut -d ":" -f 2 | sed -e 's|lua_|loader.|g' | sed -e 's|loader.State \*L||g' | sed -e 's|^|* \`|g' | sed -e 's|)|)\`|g'
```

0 comments on commit 0be2a4f

Please sign in to comment.