Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
273af6ca
Commit
273af6ca
authored
Jan 02, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifications for Programmer's Referens Manual
parent
a6976a2b
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
460 additions
and
260 deletions
+460
-260
src/exp/inc/src/pwr.h
src/exp/inc/src/pwr.h
+105
-77
src/lib/co/src/co_cdh.c
src/lib/co/src/co_cdh.c
+170
-54
src/lib/co/src/co_cdh.h
src/lib/co/src/co_cdh.h
+160
-107
src/lib/co/src/co_time.c
src/lib/co/src/co_time.c
+0
-5
src/lib/rt/src/rt_errh.c
src/lib/rt/src/rt_errh.c
+6
-4
src/lib/rt/src/rt_mh_appl.c
src/lib/rt/src/rt_mh_appl.c
+1
-0
src/lib/rt/src/rt_qcom.h
src/lib/rt/src/rt_qcom.h
+18
-13
No files found.
src/exp/inc/src/pwr.h
View file @
273af6ca
This diff is collapsed.
Click to expand it.
src/lib/co/src/co_cdh.c
View file @
273af6ca
This diff is collapsed.
Click to expand it.
src/lib/co/src/co_cdh.h
View file @
273af6ca
This diff is collapsed.
Click to expand it.
src/lib/co/src/co_time.c
View file @
273af6ca
...
...
@@ -47,11 +47,6 @@
pwr_Assert((p->tv_sec < 0) ? (p->tv_nsec <= 0 && p->tv_nsec > -1000000000) : TRUE);\
} while (0)
typedef
struct
{
int
tv_sec
;
int
tv_nsec
;
}
tTime
;
/* String representations of months. */
static
const
char
*
monStr
[]
=
...
...
src/lib/rt/src/rt_errh.c
View file @
273af6ca
...
...
@@ -121,7 +121,9 @@ static void log_message (errh_sLog*, char, char*, va_list);
static
int
msg_vsprintf
(
char
*
,
const
char
*
,
aa_list
,
va_list
);
#if defined(OS_LYNX) || defined(OS_LINUX) || defined(OS_ELN)
static
size_t
strnlen
(
const
char
*
,
size_t
);
static
size_t
errh_strnlen
(
const
char
*
,
size_t
);
#else
#define errh_strnlen strnlen
#endif
static
unsigned
int
do_div
(
int
*
,
unsigned
int
);
...
...
@@ -818,7 +820,7 @@ repeat:
if
(
!
s
)
s
=
"<NULL>"
;
len
=
strnlen
(
s
,
precision
);
len
=
errh_
strnlen
(
s
,
precision
);
if
(
!
(
flags
&
LEFT
))
while
(
len
<
field_width
--
)
...
...
@@ -907,7 +909,7 @@ repeat:
whatever comes true first. */
static
size_t
strnlen
(
errh_
strnlen
(
const
char
*
s
,
size_t
count
)
...
...
src/lib/rt/src/rt_mh_appl.c
View file @
273af6ca
...
...
@@ -27,6 +27,7 @@
#include "rt_mh_util.h"
#include "rt_errh.h"
//! Application context.
typedef
struct
{
mh_sHead
head
;
qcom_sQid
handler
;
...
...
src/lib/rt/src/rt_qcom.h
View file @
273af6ca
...
...
@@ -129,9 +129,7 @@ static const qcom_sQid qcom_cQhdClient = {qcom_cIhdClient, 0};
static
const
qcom_sQid
qcom_cQnacp
=
{
qcom_cInacp
,
0
};
static
const
qcom_sQid
qcom_cQini
=
{
qcom_cIini
,
0
};
/**
* ZZZ
*/
//! Application identity
typedef
struct
{
qcom_tAix
aix
;
/**< Application index */
pwr_tNodeId
nid
;
/**< Node identity */
...
...
@@ -139,27 +137,32 @@ typedef struct {
static
const
qcom_sAid
qcom_cNAid
=
{
0
,
0
};
//! Qcom application
typedef
struct
{
qcom_sAid
aid
;
pid_t
pid
;
}
qcom_sAppl
;
//! Qcom event
typedef
struct
{
qcom_sAid
aid
;
pid_t
pid
;
int
mask
;
}
qcom_sEvent
;
//! Queue attributes
typedef
struct
{
qcom_eQtype
type
;
unsigned
int
quota
;
}
qcom_sQattr
;
//! Qcom type
typedef
struct
{
qcom_eBtype
b
;
qcom_eStype
s
;
}
qcom_sType
;
//! Put data structure.
typedef
struct
{
qcom_sQid
reply
;
qcom_sType
type
;
...
...
@@ -167,6 +170,7 @@ typedef struct {
void
*
data
;
}
qcom_sPut
;
//! Get data structure
typedef
struct
{
qcom_sAid
sender
;
pid_t
pid
;
...
...
@@ -179,8 +183,10 @@ typedef struct {
void
*
data
;
}
qcom_sGet
;
//! Node status
typedef
union
{
pwr_tBitMask
m
;
//! Bitmask representation
pwr_32Bits
(
pwr_Bits
(
initiated
,
1
),
pwr_Bits
(
connected
,
1
),
...
...
@@ -203,17 +209,16 @@ typedef union {
}
qcom_mNode
;
/**
* Strucure describing a node ???
*/
//! Data for a Qcom node.
typedef
struct
{
pwr_tNodeId
nid
;
/
**< node index */
qcom_mNode
flags
;
/
**< node flags */
char
name
[
80
];
/
**< node name */
co_eOS
os
;
/
**< operating system */
co_eHW
hw
;
/
**< hardware */
co_eBO
bo
;
/
**< big/little endian */
co_eFT
ft
;
/
**< float type */
pwr_tNodeId
nid
;
/
/!< node index
qcom_mNode
flags
;
/
/!< node flags
char
name
[
80
];
/
/!< node name
co_eOS
os
;
/
/!< operating system
co_eHW
hw
;
/
/!< hardware
co_eBO
bo
;
/
/!< big/little endian
co_eFT
ft
;
/
/!< float type
}
qcom_sNode
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment