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