File tree 4 files changed +18
-10
lines changed
4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change
1
+ # 1.2.1
2
+ - Set library version correctly
3
+ - Fix test build
4
+
5
+ # 1.2.0
6
+ This is mostly a bug fix release, there's no major new feature:
7
+ - Fix to support devices names with a hexadecimal domain name
8
+ - Allow to override path to read driver info (LIBOCXL_SYSPATH)
9
+ - Documentation enhancements
10
+ - Makefile/build enhancements
11
+ - Add tests for debug AFUs (memcpy, afp)
12
+
13
+
1
14
# 1.1.0
2
15
## User facing changes
3
16
- Requires Linux headers >= 4.18 to compile
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ MAKEFLAGS += -rR
6
6
VERSION_MAJOR = 1
7
7
8
8
# Change VERSION_MINOR on new features
9
- VERSION_MINOR = 1
9
+ VERSION_MINOR = 2
10
10
11
11
# Change VERSION_PATCH on each tag
12
- VERSION_PATCH = 0
12
+ VERSION_PATCH = 1
13
13
14
14
AR = $(CROSS_COMPILE)ar
15
15
AS = $(CROSS_COMPILE)as
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ #include "libocxl_internal.h"
17
18
#include <unistd.h>
18
19
#include <string.h>
19
20
#include <stdlib.h>
24
25
#include <pthread.h>
25
26
#include <signal.h>
26
27
#include <fcntl.h>
27
-
28
28
#include <misc/ocxl.h>
29
-
30
- #include "libocxl_internal.h"
31
29
#include "static.h"
32
30
33
- #include <stdlib.h>
34
-
35
31
static const char * ocxl_sysfs_path = "/tmp/ocxl-test" ;
36
32
static const char * ocxl_dev_path = "/dev/ocxl-test" ;
37
33
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ #include "libocxl_internal.h"
17
18
#include <fuse/cuse_lowlevel.h>
18
19
#include <fuse/fuse_lowlevel.h>
19
20
#include <linux/poll.h>
20
- #include "libocxl_internal.h"
21
21
#include <misc/ocxl.h>
22
22
#include <errno.h>
23
23
#include <sys/types.h>
26
26
#include <string.h>
27
27
#include <unistd.h>
28
28
#include <pthread.h>
29
-
30
29
#include <stdlib.h>
31
30
32
31
typedef struct ocxl_kernel_event_header ocxl_kernel_event_header ;
@@ -193,7 +192,7 @@ bool afu_is_attached() {
193
192
* @return the thread for the device, or 0 on error
194
193
*/
195
194
pthread_t create_ocxl_device (const char * afu_name , size_t global_mmio_size , size_t per_pasid_mmio_size ) {
196
- char sysfs_base [PATH_MAX ];
195
+ char sysfs_base [PATH_MAX - 20 ];
197
196
char tmp [PATH_MAX ];
198
197
char buf [BUF_SIZE ];
199
198
You can’t perform that action at this time.
0 commit comments