148 lines
3.7 KiB
C
148 lines
3.7 KiB
C
/*
|
|
** Generated by RubusCB 2.1 Jun 16 1999 09:44:36 License Release
|
|
**
|
|
** File: taglab_s.c
|
|
**
|
|
** Created: 11:05:24 October 12 1999
|
|
**
|
|
** File is automatically generated, DO NOT EDIT!
|
|
**
|
|
*/
|
|
|
|
#include <basic/bs_basic.h>
|
|
#include <red/r_thread.h>
|
|
#include <red/r_cfg.h>
|
|
#include <blue/b_thread.h>
|
|
#include <basic/bs_log.h>
|
|
#include <hal/hal_cfg.h>
|
|
#include "taglab_bs.h"
|
|
#include "taglab_r.h"
|
|
#include "taglab_b.h"
|
|
|
|
#include "msg.h"
|
|
|
|
bsLabel_t const bsCBLabel = (UCHAR const *)"RubusCB 2.1 Jun 16 1999 09:44:36 License Release\n";
|
|
bsLabel_t const bsCRLabel = (UCHAR const *)"Copyright 1995-1999 Arcticus Systems AB All Rights Reserved\n";
|
|
bsProductLabel_t const bsProductLabel ={
|
|
(bsLabel_t)&bsOSLabel,
|
|
(bsLabel_t)&bsCBLabel,
|
|
(bsLabel_t)&bsCRLabel,
|
|
0xf278,
|
|
0xadc6,
|
|
};
|
|
|
|
bsClockAttr_t const bsClockBasicAttr ={
|
|
{{NULLP},(bsName_t)"Clock Basic",OBJECT_BASIC_CLOCK,6},
|
|
BASIC_NSEC/1000000L,
|
|
1000000L,
|
|
1,
|
|
};
|
|
|
|
bsLogAttr_t const bsLogAttr ={
|
|
{{NULLP},(bsName_t)"bsLog",OBJECT_BASIC_LOG,7},
|
|
0,
|
|
NULLP,
|
|
NULLP,
|
|
};
|
|
|
|
bsNodeS_t const bsQueueAttrList ={
|
|
{NULLP},(bsName_t)"BASIC QUEUE LIST",0,9
|
|
};
|
|
|
|
extern TYPE_CB LOC_CB DummyCB[(SIZE_RED_CB + sizeof(TYPE_CB) - 1) / sizeof(TYPE_CB)];
|
|
redThreadBaseAttr_t const Dummy = {
|
|
{{NULLP},(bsName_t)"Dummy",OBJECT_RED_THREAD_BASE,4},
|
|
(TYPE_CB LOC_CB *)&DummyCB,
|
|
};
|
|
|
|
bsNodeS_t const redThreadBaseAttrList = {
|
|
{(bsLinkS_t *)&Dummy},(bsName_t)"RED THREAD BASE LIST",OBJECT_RED_THREAD_BASE,11
|
|
};
|
|
|
|
extern bsStack_t redStack;
|
|
extern TYPE_CB LOC_CB redStackFrame[((SIZE_RED_FRAME_CB + sizeof(TYPE_CB) - 1) / sizeof(TYPE_CB)) * (SIZE_RED_NESTED_LEVELS + 1)];
|
|
|
|
redStackAttr_t const redStackAttr={
|
|
{{NULLP},(bsName_t)"RED STACK",OBJECT_RED_STACK,12},
|
|
(500 + sizeof(UINT) - 1) / sizeof(UINT),
|
|
&redStack,
|
|
SIZE_RED_NESTED_LEVELS,
|
|
(TYPE_CB LOC_CB *)&redStackFrame
|
|
};
|
|
|
|
extern void dummy(void);
|
|
redThreadInstAttr_t const Dummy_1 ={
|
|
{{NULLP},(bsName_t)"1",OBJECT_RED_THREAD_INST,13},
|
|
&Dummy,
|
|
9990,
|
|
10000,
|
|
(TYPE_CB LOC_CB *)&DummyCB,
|
|
(redThread_t)dummy,
|
|
NULLP,
|
|
};
|
|
|
|
extern void redSchedule_0(void);
|
|
redSchedAttr_t const redSchedule={
|
|
{{NULLP,(bsLinkD_t *)&Dummy_1},(bsName_t)"redSchedule",OBJECT_RED_SCHEDULE,5},
|
|
10000,
|
|
1,
|
|
redSchedule_0,
|
|
NULLP,
|
|
};
|
|
|
|
bsNodeS_t const redScheduleAttrList = {
|
|
{(bsLinkS_t *)&redSchedule},(bsName_t)"RED SCHEDULE LIST",OBJECT_RED_SCHEDULE,10
|
|
};
|
|
|
|
extern void blueIdleMain(VOIDP args);
|
|
extern TYPE_CB LOC_CB blueIdleCB[(SIZE_BLUE_THREAD_CB + sizeof(TYPE_CB) - 1) / sizeof(TYPE_CB)];
|
|
extern bsStack_t blueIdleStack;
|
|
blueThreadAttr_t const blueIdle={
|
|
{{NULLP},(bsName_t)"blueIdle",OBJECT_BLUE_THREAD,2},
|
|
(TYPE_CB LOC_CB *)&blueIdleCB,
|
|
0,
|
|
blueIdleMain,
|
|
NULLP,
|
|
(30000 + sizeof(UINT) - 1) / sizeof(UINT),
|
|
(bsStack_t *)&blueIdleStack,
|
|
};
|
|
|
|
extern void blueFunk(VOIDP args);
|
|
extern TYPE_CB LOC_CB ACB[(SIZE_BLUE_THREAD_CB + sizeof(TYPE_CB) - 1) / sizeof(TYPE_CB)];
|
|
extern bsStack_t AStack;
|
|
blueThreadAttr_t const A={
|
|
{{(bsLinkS_t *)&blueIdle},(bsName_t)"A",OBJECT_BLUE_THREAD,3},
|
|
(TYPE_CB LOC_CB *)&ACB,
|
|
13,
|
|
blueFunk,
|
|
NULLP,
|
|
(22000 + sizeof(UINT) - 1) / sizeof(UINT),
|
|
(bsStack_t *)&AStack,
|
|
};
|
|
|
|
extern void blueKernelMain(VOIDP args);
|
|
extern TYPE_CB LOC_CB blueKernelCB[(SIZE_BLUE_THREAD_CB + sizeof(TYPE_CB) - 1) / sizeof(TYPE_CB)];
|
|
extern bsStack_t blueKernelStack;
|
|
blueThreadAttr_t const blueKernel={
|
|
{{(bsLinkS_t *)&A},(bsName_t)"blueKernel",OBJECT_BLUE_THREAD,1},
|
|
(TYPE_CB LOC_CB *)&blueKernelCB,
|
|
15,
|
|
blueKernelMain,
|
|
NULLP,
|
|
(30000 + sizeof(UINT) - 1) / sizeof(UINT),
|
|
(bsStack_t *)&blueKernelStack,
|
|
};
|
|
|
|
bsNodeS_t const blueThreadAttrList = {
|
|
{(bsLinkS_t *)&blueKernel},(bsName_t)"BLUE THREAD LIST",0,14
|
|
};
|
|
|
|
bsNodeS_t const blueMsgAttrList = {
|
|
{NULLP},(bsName_t)"BLUE MSG LIST",0,16
|
|
};
|
|
|
|
bsNodeS_t const blueMutexAttrList = {
|
|
{NULLP},(bsName_t)"BLUE MX LIST",0,17
|
|
};
|
|
|