Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - stand-alone application
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha - stand-alone application
Commits
16c98db7
Commit
16c98db7
authored
Oct 05, 2014
by
Jose Jimenez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger_sw/include/fine-delay.h: Removed unncesary stuff
Signed-off-by:
Jose Jimenez
<
ppjm@correo.ugr.es
>
parent
55da0880
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
fine-delay.h
debugger_sw/include/fine-delay.h
+0
-21
No files found.
debugger_sw/include/fine-delay.h
View file @
16c98db7
...
...
@@ -259,34 +259,13 @@ static inline void fd_split_pico(uint64_t pico,
//*frac = (*frac << 12) / 8000;
}
/*static inline uint32_t fmc_readl(struct fmc_device *fmc, int offset)
{
uint32_t *p= (uint32_t) offset;
if (offset >= 0x180500 && offset < 0x190000)
mprintf("[READ ]: fmc_readl -> Dir %08X val %08X\n", p, *p);
return *p;
}
static inline void fmc_writel(struct fmc_device *fmc, uint32_t val, int off)
{
uint32_t *p = (uint32_t) off;
*p = val;
}*/
static
inline
uint32_t
fd_readl
(
struct
fd_dev
*
fd
,
unsigned
long
reg
)
{
return
fmc_readl
(
fd
->
fmc
,
fd
->
fd_regs_base
+
reg
);
/*unsigned long *p=fd->fd_regs_base + reg;
//mprintf(" [READ]: Dir %08X val %08X\n", p, *p);
return *p;*/
}
static
inline
void
fd_writel
(
struct
fd_dev
*
fd
,
uint32_t
v
,
unsigned
long
reg
)
{
/*unsigned long *p = fd->fd_regs_base + reg;
*p = v;*/
//mprintf("[WRITE]: Dir %08X val %08X\n", p, *p);
fmc_writel
(
fd
->
fmc
,
v
,
fd
->
fd_regs_base
+
reg
);
}
...
...
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