Annotation of funnyos/sys/pcb.h, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #ifndef _SYS_PCB_H
! 5: #define _SYS_PCB_H
! 6:
! 7: #include <sys/types.h>
! 8:
! 9: /*
! 10: * Process Control Block.
! 11: */
! 12: struct pcb {
! 13:
! 14: /* ARM general purpose registers */
! 15: uint32_t p_r0;
! 16: uint32_t p_r1;
! 17: uint32_t p_r2;
! 18: uint32_t p_r3;
! 19: uint32_t p_r4;
! 20: uint32_t p_r5;
! 21: uint32_t p_r6;
! 22: uint32_t p_r7;
! 23: uint32_t p_r8;
! 24: uint32_t p_r9;
! 25: uint32_t p_r10;
! 26: uint32_t p_r11;
! 27: uint32_t p_r12;
! 28: uint32_t p_pc; /* r14 (lr) in irq_mode (actually, task's pc) */
! 29: // uint32_t p_cpsr;
! 30:
! 31: };
! 32:
! 33:
! 34: #endif /* not _SYS_PCB_H */
! 35:
CVSweb