Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
White Rabbit Switch - Software
Commits
2bd8669c
Commit
2bd8669c
authored
Nov 19, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/include: move hwiu.h to libwr/
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
76dfcdd4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
hwiu.h
userspace/include/libwr/hwiu.h
+3
-3
hwiu.c
userspace/libwr/hwiu.c
+1
-1
wrs_version.c
userspace/tools/wrs_version.c
+1
-1
No files found.
userspace/include/hwiu.h
→
userspace/include/
libwr/
hwiu.h
View file @
2bd8669c
#ifndef __HWIU_H__
#define __HWIU_H__
#ifndef __
LIBWR_
HWIU_H__
#define __
LIBWR_
HWIU_H__
#define HWIU_INFO_START 0
#define HWIU_INFO_WORDS_START 1
...
...
@@ -20,4 +20,4 @@ struct gw_info {
int
shw_hwiu_gwver
(
struct
gw_info
*
info
);
#endif
#endif
/* __LIBWR_HWIU_H__ */
userspace/libwr/hwiu.c
View file @
2bd8669c
...
...
@@ -3,7 +3,7 @@
#include <stddef.h>
#include <fpga_io.h>
#include <regs/hwiu-regs.h>
#include <hwiu.h>
#include <
libwr/
hwiu.h>
#define hwiu_write(reg, val) \
_fpga_writel(FPGA_BASE_HWIU + offsetof(struct HWIU_WB, reg), val)
...
...
userspace/tools/wrs_version.c
View file @
2bd8669c
...
...
@@ -24,7 +24,7 @@
#include <string.h>
#include <shw_io.h>
#include <hwiu.h>
#include <
libwr/
hwiu.h>
#include "switch_hw.h"
#include "libsdbfs.h"
...
...
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