I created a system call to get the dimensions of the file and graphics kobject. For the graphics kobject, it fills an array of size 4 with the X position, Y position, Width and Height. For the file, it fills an array of size 2 with the file size and reference count.
I made changes so that a user can put an upper limit on the number of dimensions they want to get back. file objects set at most 1 dimension and graphics objects set at most 2 dimensions.
I created a system call to get the dimensions of the file and graphics kobject. For the graphics kobject, it fills an array of size 4 with the X position, Y position, Width and Height. For the file, it fills an array of size 2 with the file size and reference count.
I tested these calls in awind.c