1 2 3 4 5 6 7 8 9 10 11 12 13 14
union Foo { int; Shmem; }; [ChildProc=any] intr protocol Pshmem { parent: async Msg(Shmem s, Foo f); sync SyncMsg(Shmem s, Foo f) returns (Shmem t, Foo g); [LegacyIntr] intr InterruptMsg(Shmem s, Foo f) returns (Shmem t, Foo g); };