sorry for this newbie question but I don't find any good resource on web to explain what this means:
struct {
struct spinlock lock;
struct proc proc[NPROC]; //NPROC = 64
} ptable;
I see the resources over the web and find these types of define a struct:
//first method
struct Foo { ... };
//second method
typedef struct Foo { ... } Foo;