Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Mock Turtle
Commits
a2160c7f
Commit
a2160c7f
authored
Jul 28, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/v4.0.5'
parents
1fd03e45
0328bfec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
CHANGELOG.rst
CHANGELOG.rst
+7
-0
mockturtle-core.c
software/kernel/mockturtle-core.c
+1
-0
mockturtle-drv.h
software/kernel/mockturtle-drv.h
+5
-0
No files found.
CHANGELOG.rst
View file @
a2160c7f
...
...
@@ -7,6 +7,13 @@
Change Log
==========
[4.0.5] - 2021-07-29
====================
Fixed
-----
- [sw] support for Linux versions greater than 5.8
[4.0.4] - 2019-10-21
====================
Changed
...
...
software/kernel/mockturtle-core.c
View file @
a2160c7f
...
...
@@ -28,6 +28,7 @@
#include <linux/mod_devicetable.h>
#include <linux/uaccess.h>
#include <linux/version.h>
#include <linux/io.h>
#include <mockturtle/hw/mockturtle_cpu_csr.h>
#include <mockturtle/hw/mockturtle_queue.h>
...
...
software/kernel/mockturtle-drv.h
View file @
a2160c7f
...
...
@@ -12,6 +12,7 @@
#include <linux/irqreturn.h>
#include <linux/circ_buf.h>
#include <linux/tty.h>
#include <linux/version.h>
#include "mockturtle/hw/mockturtle_addresses.h"
#include "mockturtle/hw/mockturtle_queue.h"
...
...
@@ -76,7 +77,11 @@ static inline uint32_t trtl_get_sequence(struct trtl_msg *msg)
}
struct
trtl_memory_ops
{
#if KERNEL_VERSION(5, 8, 0) <= LINUX_VERSION_CODE
u32
(
*
read
)(
const
void
*
addr
);
#else
u32
(
*
read
)(
void
*
addr
);
#endif
void
(
*
write
)(
u32
value
,
void
*
addr
);
};
...
...
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