Plan 9 from Bell Labs’s /n/sources/patch/applied/armuregsz/readme
All the other arquitectures have sizeofUreg and it is quite convenient.