Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
63a63e14
Commit
63a63e14
authored
Apr 19, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test commit
parent
73ebe33f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
915 additions
and
1 deletion
+915
-1
constants.h
include/ppsi/constants.h
+5
-1
Makefile
proto-standard/Makefile
+1
-0
bmc.c
proto-standard/bmc.c
+3
-0
bmc_wrpc.c
proto-standard/bmc_wrpc.c
+906
-0
No files found.
include/ppsi/constants.h
View file @
63a63e14
...
...
@@ -63,7 +63,11 @@
#define PP_SERVO_HOLDOVER 2
#define PP_SERVO_UNLOCKED 3
#define PP_NR_FOREIGN_RECORDS 5
#ifdef CONFIG_ARCH_WRPC
#define PP_NR_FOREIGN_RECORDS 1
/* Does not follow the standard : Clause 9.3.2.4.5 */
#else
#define PP_NR_FOREIGN_RECORDS 5
/* Clause 9.3.2.4.5 : Minimum size capacity is 5 */
#endif
#define PP_FOREIGN_MASTER_TIME_WINDOW 4
#define PP_FOREIGN_MASTER_THRESHOLD 2
#define PP_DEFAULT_TTL 1
...
...
proto-standard/Makefile
View file @
63a63e14
...
...
@@ -14,6 +14,7 @@ OBJ-y += $D/fsm-table.o \
$D
/state-slave.o
\
$D
/common-fun.o
\
$D
/bmc.o
\
$D
/bmc_wrpc.o
\
$D
/msg.o
\
$D
/arith.o
\
$D
/servo.o
\
...
...
proto-standard/bmc.c
View file @
63a63e14
...
...
@@ -8,6 +8,8 @@
#include <ppsi/ppsi.h>
#ifndef CONFIG_ARCH_WRPC
/* Flag Field bits symbolic names (table 57, pag. 151) */
#define FFB_LI61 0x01
#define FFB_LI59 0x02
...
...
@@ -1433,3 +1435,4 @@ int bmc(struct pp_instance *ppi)
return
next_state
;
}
#endif
proto-standard/bmc_wrpc.c
0 → 100644
View file @
63a63e14
This diff is collapsed.
Click to expand it.
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