rename message.m5_c[12] to m5_s[12]
This commit is contained in:
parent
cff75286df
commit
f175410902
5 changed files with 14 additions and 14 deletions
|
@ -398,12 +398,12 @@
|
||||||
#define ALRM_TIME_LEFT m2_l1 /* how many ticks were remaining */
|
#define ALRM_TIME_LEFT m2_l1 /* how many ticks were remaining */
|
||||||
|
|
||||||
/* Field names for SYS_IRQCTL. */
|
/* Field names for SYS_IRQCTL. */
|
||||||
#define IRQ_REQUEST m5_c1 /* what to do? */
|
#define IRQ_REQUEST m5_s1 /* what to do? */
|
||||||
# define IRQ_SETPOLICY 1 /* manage a slot of the IRQ table */
|
# define IRQ_SETPOLICY 1 /* manage a slot of the IRQ table */
|
||||||
# define IRQ_RMPOLICY 2 /* remove a slot of the IRQ table */
|
# define IRQ_RMPOLICY 2 /* remove a slot of the IRQ table */
|
||||||
# define IRQ_ENABLE 3 /* enable interrupts */
|
# define IRQ_ENABLE 3 /* enable interrupts */
|
||||||
# define IRQ_DISABLE 4 /* disable interrupts */
|
# define IRQ_DISABLE 4 /* disable interrupts */
|
||||||
#define IRQ_VECTOR m5_c2 /* irq vector */
|
#define IRQ_VECTOR m5_s2 /* irq vector */
|
||||||
#define IRQ_POLICY m5_i1 /* options for IRQCTL request */
|
#define IRQ_POLICY m5_i1 /* options for IRQCTL request */
|
||||||
# define IRQ_REENABLE 0x001 /* reenable IRQ line after interrupt */
|
# define IRQ_REENABLE 0x001 /* reenable IRQ line after interrupt */
|
||||||
# define IRQ_BYTE 0x100 /* byte values */
|
# define IRQ_BYTE 0x100 /* byte values */
|
||||||
|
@ -425,10 +425,10 @@
|
||||||
#define ABRT_MON_ADDR m1_p1 /* virtual address of monitor params */
|
#define ABRT_MON_ADDR m1_p1 /* virtual address of monitor params */
|
||||||
|
|
||||||
/* Field names for _UMAP, _VIRCOPY, _PHYSCOPY. */
|
/* Field names for _UMAP, _VIRCOPY, _PHYSCOPY. */
|
||||||
#define CP_SRC_SPACE m5_c1 /* T or D space (stack is also D) */
|
#define CP_SRC_SPACE m5_s1 /* T or D space (stack is also D) */
|
||||||
#define CP_SRC_ENDPT m5_i1 /* process to copy from */
|
#define CP_SRC_ENDPT m5_i1 /* process to copy from */
|
||||||
#define CP_SRC_ADDR m5_l1 /* address where data come from */
|
#define CP_SRC_ADDR m5_l1 /* address where data come from */
|
||||||
#define CP_DST_SPACE m5_c2 /* T or D space (stack is also D) */
|
#define CP_DST_SPACE m5_s2 /* T or D space (stack is also D) */
|
||||||
#define CP_DST_ENDPT m5_i2 /* process to copy to */
|
#define CP_DST_ENDPT m5_i2 /* process to copy to */
|
||||||
#define CP_DST_ADDR m5_l2 /* address where data go to */
|
#define CP_DST_ADDR m5_l2 /* address where data go to */
|
||||||
#define CP_NR_BYTES m5_l3 /* number of bytes to copy */
|
#define CP_NR_BYTES m5_l3 /* number of bytes to copy */
|
||||||
|
@ -879,8 +879,8 @@
|
||||||
#define VM_MMAP (VM_RQ_BASE+10)
|
#define VM_MMAP (VM_RQ_BASE+10)
|
||||||
# define VMM_ADDR m5_l1
|
# define VMM_ADDR m5_l1
|
||||||
# define VMM_LEN m5_l2
|
# define VMM_LEN m5_l2
|
||||||
# define VMM_PROT m5_c1
|
# define VMM_PROT m5_s1
|
||||||
# define VMM_FLAGS m5_c2
|
# define VMM_FLAGS m5_s2
|
||||||
# define VMM_FD m5_i1
|
# define VMM_FD m5_i1
|
||||||
# define VMM_OFFSET m5_i2
|
# define VMM_OFFSET m5_i2
|
||||||
# define VMM_RETADDR m5_l1 /* result */
|
# define VMM_RETADDR m5_l1 /* result */
|
||||||
|
|
|
@ -18,7 +18,7 @@ typedef struct {int m2i1, m2i2, m2i3; long m2l1, m2l2; char *m2p1;
|
||||||
short m2s1;} mess_2;
|
short m2s1;} mess_2;
|
||||||
typedef struct {int m3i1, m3i2; char *m3p1; char m3ca1[M3_LONG_STRING];} mess_3;
|
typedef struct {int m3i1, m3i2; char *m3p1; char m3ca1[M3_LONG_STRING];} mess_3;
|
||||||
typedef struct {long m4l1, m4l2, m4l3, m4l4, m4l5;} mess_4;
|
typedef struct {long m4l1, m4l2, m4l3, m4l4, m4l5;} mess_4;
|
||||||
typedef struct {short m5c1, m5c2; int m5i1, m5i2; long m5l1, m5l2, m5l3;}mess_5;
|
typedef struct {short m5s1, m5s2; int m5i1, m5i2; long m5l1, m5l2, m5l3;}mess_5;
|
||||||
typedef struct {long m6l1, m6l2, m6l3; short m6s1, m6s2, m6s3; char m6c1, m6c2;
|
typedef struct {long m6l1, m6l2, m6l3; short m6s1, m6s2, m6s3; char m6c1, m6c2;
|
||||||
char *m6p1, *m6p2;} mess_6;
|
char *m6p1, *m6p2;} mess_6;
|
||||||
typedef struct {int m7i1, m7i2, m7i3, m7i4; char *m7p1, *m7p2;} mess_7;
|
typedef struct {int m7i1, m7i2, m7i3, m7i4; char *m7p1, *m7p2;} mess_7;
|
||||||
|
@ -70,8 +70,8 @@ typedef struct {
|
||||||
#define m4_l4 m_u.m_m4.m4l4
|
#define m4_l4 m_u.m_m4.m4l4
|
||||||
#define m4_l5 m_u.m_m4.m4l5
|
#define m4_l5 m_u.m_m4.m4l5
|
||||||
|
|
||||||
#define m5_c1 m_u.m_m5.m5c1
|
#define m5_s1 m_u.m_m5.m5s1
|
||||||
#define m5_c2 m_u.m_m5.m5c2
|
#define m5_s2 m_u.m_m5.m5s2
|
||||||
#define m5_i1 m_u.m_m5.m5i1
|
#define m5_i1 m_u.m_m5.m5i1
|
||||||
#define m5_i2 m_u.m_m5.m5i2
|
#define m5_i2 m_u.m_m5.m5i2
|
||||||
#define m5_l1 m_u.m_m5.m5l1
|
#define m5_l1 m_u.m_m5.m5l1
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
* m_type: SYS_VIRCOPY, SYS_PHYSCOPY
|
* m_type: SYS_VIRCOPY, SYS_PHYSCOPY
|
||||||
*
|
*
|
||||||
* The parameters for this kernel call are:
|
* The parameters for this kernel call are:
|
||||||
* m5_c1: CP_SRC_SPACE source virtual segment
|
* m5_s1: CP_SRC_SPACE source virtual segment
|
||||||
* m5_l1: CP_SRC_ADDR source offset within segment
|
* m5_l1: CP_SRC_ADDR source offset within segment
|
||||||
* m5_i1: CP_SRC_ENDPT source process number
|
* m5_i1: CP_SRC_ENDPT source process number
|
||||||
* m5_c2: CP_DST_SPACE destination virtual segment
|
* m5_s2: CP_DST_SPACE destination virtual segment
|
||||||
* m5_l2: CP_DST_ADDR destination offset within segment
|
* m5_l2: CP_DST_ADDR destination offset within segment
|
||||||
* m5_i2: CP_DST_ENDPT destination process number
|
* m5_i2: CP_DST_ENDPT destination process number
|
||||||
* m5_l3: CP_NR_BYTES number of bytes to copy
|
* m5_l3: CP_NR_BYTES number of bytes to copy
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
* m_type: SYS_IRQCTL
|
* m_type: SYS_IRQCTL
|
||||||
*
|
*
|
||||||
* The parameters for this kernel call are:
|
* The parameters for this kernel call are:
|
||||||
* m5_c1: IRQ_REQUEST (control operation to perform)
|
* m5_s1: IRQ_REQUEST (control operation to perform)
|
||||||
* m5_c2: IRQ_VECTOR (irq line that must be controlled)
|
* m5_s2: IRQ_VECTOR (irq line that must be controlled)
|
||||||
* m5_i1: IRQ_POLICY (irq policy allows reenabling interrupts)
|
* m5_i1: IRQ_POLICY (irq policy allows reenabling interrupts)
|
||||||
* m5_l3: IRQ_HOOK_ID (provides index to be returned on interrupt)
|
* m5_l3: IRQ_HOOK_ID (provides index to be returned on interrupt)
|
||||||
* ,, ,, (returns index of irq hook assigned at kernel)
|
* ,, ,, (returns index of irq hook assigned at kernel)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* The parameters for this kernel call are:
|
* The parameters for this kernel call are:
|
||||||
* m5_i1: CP_SRC_PROC_NR (process number)
|
* m5_i1: CP_SRC_PROC_NR (process number)
|
||||||
* m5_c1: CP_SRC_SPACE (segment where address is: T, D, or S)
|
* m5_s1: CP_SRC_SPACE (segment where address is: T, D, or S)
|
||||||
* m5_l1: CP_SRC_ADDR (virtual address)
|
* m5_l1: CP_SRC_ADDR (virtual address)
|
||||||
* m5_l2: CP_DST_ADDR (returns physical address)
|
* m5_l2: CP_DST_ADDR (returns physical address)
|
||||||
* m5_l3: CP_NR_BYTES (size of datastructure)
|
* m5_l3: CP_NR_BYTES (size of datastructure)
|
||||||
|
|
Loading…
Reference in a new issue