Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
6fdfd77f
Commit
6fdfd77f
authored
Feb 19, 2020
by
Tomasz Wlostowski
Committed by
Grzegorz Daniluk
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check-error: disallow long divisions only on low-memory platforms (generic WRC)
parent
ffb2935c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
board.h
boards/generic/board.h
+2
-0
check-error.c
check-error.c
+2
-2
No files found.
boards/generic/board.h
View file @
6fdfd77f
...
...
@@ -66,4 +66,6 @@ int board_update(void);
#define HAS_ABSCAL 0
#endif
#define CONFIG_DISALLOW_LONG_DIVISION
#endif
/* __BOARD_WRC_H */
check-error.c
View file @
6fdfd77f
...
...
@@ -36,7 +36,7 @@ int mprintf(const char *fmt, ...)
return
0
;
}
#ifdef CONFIG_
PPSI
/* with ppsi we can avoid libgcc code for division */
#ifdef CONFIG_
DISALLOW_LONG_DIVISION
/* with ppsi we can avoid libgcc code for division */
/* was used twice in picos_to_ts */
long
long
__moddi3
(
long
long
A
,
long
long
B
)
{
...
...
@@ -57,4 +57,4 @@ long long __divdi3 (long long A, long long B)
__you_should_not_divide_ll_in_wrpc_sw
();
return
0
;
}
#endif
/* config_ppsi */
#endif
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