aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/fuchsia.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/fuchsia.md b/docs/fuchsia.md
index c5db3e26d..12483d2a6 100644
--- a/docs/fuchsia.md
+++ b/docs/fuchsia.md
@@ -16,7 +16,10 @@ fx set arm64 --packages garnet/packages/products/sshd
fx full-build
```
-To update descriptions run:
+Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/zircon/+/HEAD/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.
+
+Once you updated the syscalls definitions, everything can be regenerated by running:
+
```
make extract TARGETOS=fuchsia SOURCEDIR=/path/to/fuchsia/checkout
make generate