diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 19:36:45 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 19:36:45 -0600 |
commit | 488bdd5e4120b684e449b9567169d0416e65276c (patch) | |
tree | 9560a18fc2c0ea09fa35715541be24c11792ed23 /lib9p/idl/0000-README.md | |
parent | 185c3329145959433b8b805de5f114b66b8fcaee (diff) | |
parent | 6322636192c57a472176c65257b2b8487f79434e (diff) |
Merge branch 'lukeshu/9p-idl'
Diffstat (limited to 'lib9p/idl/0000-README.md')
-rw-r--r-- | lib9p/idl/0000-README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib9p/idl/0000-README.md b/lib9p/idl/0000-README.md index 036de22..e19a1e8 100644 --- a/lib9p/idl/0000-README.md +++ b/lib9p/idl/0000-README.md @@ -41,6 +41,11 @@ and messages (which are a special-case of structures). msg Tname = "size[4,val=end-&size] typ[1,val=TYP] tag[tag] REST..." +Bitfield bit names may be wrapped in `reserved(...)` or +`subfield(...)`; reserved indicates that the bit is named but is not +allowed to be used, and subfield indicates that the bit is part of a +num/enum that is handled by an alias. + Struct fields that have numeric types (either primitives or `num` types) can add to their type `,val=` and/or `,max=` to specify what the exact value must be and/or what the maximum (inclusive) value is. |