zuspec-be-sw 0.1.0.15232861757rc0__cp39-cp39-manylinux_2_34_x86_64.whl → 0.1.0.15240461960rc0__cp39-cp39-manylinux_2_34_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of zuspec-be-sw might be problematic. Click here for more details.

@@ -1 +1 @@
1
- BUILD_NUM=15232861757
1
+ BUILD_NUM=15240461960
zsp_be_sw/__version__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  BASE="0.1.0"
2
- SUFFIX=".15232861757rc0"
2
+ SUFFIX=".15240461960rc0"
3
3
  VERSION="%s%s" % (BASE, SUFFIX)
zsp_be_sw/libzsp-be-sw.so CHANGED
Binary file
@@ -0,0 +1,18 @@
1
+
2
+ #ifndef INCLUDED_ZSP_ACTION_H
3
+ #define INCLUDED_ZSP_ACTION_H
4
+ #include "zsp/be/sw/rt/zsp_struct.h"
5
+ #include "zsp/be/sw/rt/zsp_thread.h"
6
+
7
+ typedef struct zsp_action_type_s {
8
+ zsp_struct_type_t base;
9
+
10
+ } zsp_action_type_t;
11
+
12
+ typedef struct zsp_action_s {
13
+ zsp_struct_t base;
14
+ zsp_task_func body;
15
+
16
+ } zsp_action_t;
17
+
18
+ #endif /* INCLUDED_ZSP_ACTION_H */
@@ -1,8 +1,14 @@
1
1
  #ifndef INCLUDED_ZSP_ACTOR_H
2
2
  #define INCLUDED_ZSP_ACTOR_H
3
+ #include "zsp/be/sw/rt/zsp_api.h"
4
+ #include "zsp/be/sw/rt/zsp_action.h"
3
5
  #include "zsp/be/sw/rt/zsp_actor_base.h"
4
6
  #include "zsp/be/sw/rt/zsp_component.h"
5
7
 
8
+ #ifdef __cplusplus
9
+ extern "C" {
10
+ #endif
11
+
6
12
  typedef struct zsp_actor_s {
7
13
  zsp_actor_base_t base;
8
14
  zsp_component_t comp;
@@ -13,5 +19,13 @@ typedef struct zsp_actor_s {
13
19
  comp_t ## _t comp; \
14
20
  }
15
21
 
22
+ void zsp_actor_init(
23
+ zsp_actor_t *actor,
24
+ zsp_api_t *api,
25
+ zsp_component_type_t *comp_t,
26
+ zsp_action_type_t *action_t);
16
27
 
28
+ #ifdef __cplusplus
29
+ }
30
+ #endif
17
31
  #endif /* INCLUDED_ZSP_ACTOR_H */
@@ -1,3 +1,6 @@
1
+ #ifndef INCLUDED_ZSP_ALLOC_H
2
+ #define INCLUDED_ZSP_ALLOC_H
3
+
1
4
  #include <sys/types.h>
2
5
 
3
6
  #ifdef __cplusplus
@@ -20,3 +23,4 @@ void zsp_alloc_malloc_init(zsp_alloc_t *alloc);
20
23
  }
21
24
  #endif
22
25
 
26
+ #endif /* INCLUDED_ZSP_ALLOC_H */
@@ -0,0 +1,25 @@
1
+
2
+ #ifndef INCLUDED_ZSP_API_H
3
+ #define INCLUDED_ZSP_API_H
4
+ #include "zsp/be/sw/rt/zsp_thread.h"
5
+
6
+ struct zsp_actor_s;
7
+ struct zsp_frame_s;
8
+ struct zsp_thread_s;
9
+
10
+ typedef struct zsp_api_s {
11
+ void (*print)(struct zsp_api_s *self, const char *fmt, ...);
12
+
13
+ // zsp_task_func write64;
14
+ // zsp_task_func write32;
15
+ // zsp_task_func write16;
16
+ // zsp_task_func write8;
17
+
18
+ // zsp_task_func read64;
19
+ // zsp_task_func read32;
20
+ // zsp_task_func read16;
21
+ // zsp_task_func read8;
22
+
23
+ } zsp_api_t;
24
+
25
+ #endif /* INCLUDED_ZSP_API_H */
@@ -2,16 +2,24 @@
2
2
  #define INCLUDED_ZSP_COMPONENT_H
3
3
  #include <stdint.h>
4
4
  #include "zsp/be/sw/rt/zsp_alloc.h"
5
- #include "zsp/be/sw/rt/zsp_object.h"
5
+ #include "zsp/be/sw/rt/zsp_struct.h"
6
6
 
7
7
  #ifdef _cplusplus
8
8
  extern "C" {
9
9
  #endif
10
10
 
11
11
  struct zsp_component_s;
12
+ struct zsp_actor_s;
13
+
14
+ typedef void (*zsp_component_init_f)(
15
+ struct zsp_actor_s *actor,
16
+ struct zsp_component_s *comp,
17
+ const char *name,
18
+ struct zsp_component_s *parent);
12
19
 
13
20
  typedef struct zsp_component_type_s {
14
- zsp_object_type_t __base;
21
+ zsp_object_type_t __base;
22
+ zsp_component_init_f init;
15
23
 
16
24
  void (*init_down)(struct zsp_component_s *comp);
17
25
  void (*init_up)(struct zsp_component_s *comp);
@@ -27,7 +35,7 @@ typedef struct zsp_component_s {
27
35
  } zsp_component_t;
28
36
 
29
37
  void zsp_component_init(
30
- zsp_alloc_t *alloc,
38
+ struct zsp_actor_s *actor,
31
39
  zsp_component_t *comp,
32
40
  const char *name,
33
41
  zsp_component_t *parent);
@@ -0,0 +1,13 @@
1
+
2
+ #ifndef INCLUDED_ZSP_EXECUTOR_H
3
+ #define INCLUDED_ZSP_EXECUTOR_H
4
+ #include "zsp/be/sw/rt/zsp_component.h"
5
+
6
+ struct zsp_actor_s;
7
+
8
+ typedef struct zsp_executor_s {
9
+ zsp_component_t super;
10
+
11
+ } zsp_executor_t;
12
+
13
+ #endif /* INCLUDED_ZSP_EXECUTOR_H */
@@ -33,6 +33,8 @@ typedef struct zsp_struct_s {
33
33
  #define zsp_struct_post_solve(actor, this_p) \
34
34
  zsp_struct_call(post_solve, actor, this_p)
35
35
 
36
+ void zsp_struct_init(struct zsp_actor_s *actor, struct zsp_struct_s *this_p);
37
+
36
38
  #ifdef __cplusplus
37
39
  }
38
40
  #endif
@@ -1,3 +1,6 @@
1
+ #ifndef INCLUDED_ZSP_THREAD_H
2
+ #define INCLUDED_ZSP_THREAD_H
3
+
1
4
  #include <stdint.h>
2
5
  #include <stdarg.h>
3
6
  #include "zsp_alloc.h"
@@ -11,10 +14,10 @@ extern "C" {
11
14
 
12
15
  struct zsp_thread_s;
13
16
 
14
- typedef struct zsp_frame_s *(zsp_task_func)(struct zsp_thread_s *, struct zsp_frame_s *, va_list *args);
17
+ typedef struct zsp_frame_s *(*zsp_task_func)(struct zsp_thread_s *, struct zsp_frame_s *, va_list *args);
15
18
 
16
19
  typedef struct zsp_frame_s {
17
- zsp_task_func *func;
20
+ zsp_task_func func;
18
21
  struct zsp_frame_s *prev;
19
22
  uint32_t sz;
20
23
  int32_t idx;
@@ -48,16 +51,19 @@ typedef struct zsp_scheduler_s {
48
51
  } zsp_scheduler_t;
49
52
 
50
53
  void zsp_scheduler_init(zsp_scheduler_t *sched, zsp_alloc_t *alloc);
51
- zsp_thread_t *zsp_scheduler_create_thread(zsp_scheduler_t *sched, zsp_task_func *func, ...);
54
+ zsp_thread_t *zsp_scheduler_create_thread(zsp_scheduler_t *sched, zsp_task_func func, ...);
52
55
  int zsp_scheduler_run(zsp_scheduler_t *sched);
53
- zsp_thread_t *zsp_thread_create(zsp_alloc_t *alloc, zsp_task_func *func, ...);
54
- zsp_frame_t *zsp_thread_alloc_frame( zsp_thread_t *thread, uint32_t sz, zsp_task_func *func);
56
+ zsp_thread_t *zsp_thread_create(zsp_alloc_t *alloc, zsp_task_func func, ...);
57
+ zsp_frame_t *zsp_thread_alloc_frame( zsp_thread_t *thread, uint32_t sz, zsp_task_func func);
55
58
  zsp_frame_t *zsp_thread_suspend(zsp_thread_t *thread, zsp_frame_t *frame);
56
59
  zsp_frame_t *zsp_thread_return(zsp_thread_t *thread, zsp_frame_t *frame, uintptr_t ret);
57
- zsp_frame_t *zsp_thread_call(zsp_thread_t *thread, zsp_task_func *func, ...);
60
+ zsp_frame_t *zsp_thread_call(zsp_thread_t *thread, zsp_task_func func, ...);
58
61
  zsp_frame_t *zsp_thread_run(zsp_thread_t *thread);
59
62
  void zsp_thread_free(zsp_thread_t *thread);
60
63
 
61
64
  #ifdef __cplusplus
62
65
  }
63
66
  #endif
67
+
68
+ #endif /* INCLUDED_ZSP_THREAD_H */
69
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zuspec-be-sw
3
- Version: 0.1.0.15232861757rc0
3
+ Version: 0.1.0.15240461960rc0
4
4
  Summary: Backend library to generate software output
5
5
  Home-page: https://github.com/zuspec/zuspec-be-sw
6
6
  Author: Matthew Ballance
@@ -1,8 +1,8 @@
1
- zsp_be_sw/__build_num__.py,sha256=30JOwx-5t6scOcPyYT80eOJddpa6UUQEFgc7PpDEwgo,22
1
+ zsp_be_sw/__build_num__.py,sha256=4uuJ66QL0MtpSoHm_TT09IDaYWY6NS9M9X00tEAQX0k,22
2
2
  zsp_be_sw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- zsp_be_sw/__version__.py,sha256=uOvOKUMv_1nTNGe6Gp5T78D8HYoLr4QSplF59goQFZM,69
3
+ zsp_be_sw/__version__.py,sha256=qYfFeP_WfzKHujAK6ObxvwJyOYCihKdIW-PHpoq-6Cc,69
4
4
  zsp_be_sw/core.cpython-39-x86_64-linux-gnu.so,sha256=ZV9y6t-WzXPyGSjamIOCJjwMZcD8eD6XxYTJLK1fpwk,1394152
5
- zsp_be_sw/libzsp-be-sw.so,sha256=yMg_QkUWIFix0jngFowZNv38Gx2pRIud92t6BhsfNi0,3864848
5
+ zsp_be_sw/libzsp-be-sw.so,sha256=0ubuDkAxS1E8MZ20BjpQJSLvSoTsbjr8XSJeE8eS9G0,3933248
6
6
  zsp_be_sw/share/include/zsp/be/sw/FactoryExt.h,sha256=zzqqdoxxJIQhsDb-cDT4vJBqhYC8XJpq1ZEN48FX2z0,100
7
7
  zsp_be_sw/share/include/zsp/be/sw/IContext.h,sha256=5S7rVTz-Itsuleraru7iEC8KZUU0cRK-LD_v0bsX114,2481
8
8
  zsp_be_sw/share/include/zsp/be/sw/IFactory.h,sha256=eyDpv3rpvvXxWLTnnIlNiYfxMzQzX1OzIDmEdBn4GQg,3118
@@ -16,18 +16,21 @@ zsp_be_sw/share/include/zsp/be/sw/INameMap.h,sha256=W_YrhZ1YbSgG9FrEuPRD6sadroND
16
16
  zsp_be_sw/share/include/zsp/be/sw/IOutput.h,sha256=Im0xoATfu_xOobUzfTOmM0ROuXO8w9-VMr0BXVKJRmQ,1727
17
17
  zsp_be_sw/share/include/zsp/be/sw/IOutputStr.h,sha256=exVx0hu40uMci_GVP9TCyhVsMFC6DLDRrrpUVwu0SH8,991
18
18
  zsp_be_sw/share/include/zsp/be/sw/impl/MethodCallFactoryAssocDataBase.h,sha256=RdRdW7nWYgd7h_wzCeVDLM3xLlzgZ8m0hc9fbdyK9U8,1395
19
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor.h,sha256=l58S-j9j2psbpDs-P816hi_qKNB10toYyY9iEILdnj8,388
19
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_action.h,sha256=Vnis_Jvhi3RDGanBb_JjzadqhQ4sB5VUDTmmPz_P7Kw,376
20
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor.h,sha256=JMwWl7lg77PFQZLm1or-7_UR7xgN77hhOsm3A2o2TEo,696
20
21
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor_base.h,sha256=WuZYe8Dg8VPesRzvYjASLCaa3RKzp2wqQtVpnit7nYU,563
21
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_alloc.h,sha256=D2o3MNdjnufmQr5Dfz-PA34Fa054nckkM8rR0sfO2xY,388
22
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_component.h,sha256=bJLmmepUitM2b6rA-Kp3ih0_Fw9mlLmW1Z7iHHKrys8,1065
22
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_alloc.h,sha256=DzPRmm1n8SgurZWVY2yQqz2dYaUZH7LJ69Ml17EdkU0,481
23
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_api.h,sha256=_LDHsT1TkSuwaWS_0_kZWZYsIWelvGjqB_miBzBV0N0,582
24
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_component.h,sha256=ED4eQpDrwRNcItLr0JGImAJNlylO92QUU94l3bpH1h8,1287
25
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_executor.h,sha256=xjZqwENgaj1hHrPcDVdgbKlQ236JWslsd40nygeUvok,246
23
26
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_object.h,sha256=mlX6ZZILj-NsIKJR1NSE3kgY8P2ZIccHsbaHikTW-xI,613
24
27
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_rt.h,sha256=sVJjb90VQdfoMc6UAgaKJXVKX2y7GVCKO-4L7aNU6iU,195
25
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_struct.h,sha256=taYoX0sxOHaGx9-hC77rTX5wnyUNJ1oEroURLm1NNBI,926
26
- zsp_be_sw/share/include/zsp/be/sw/rt/zsp_thread.h,sha256=E-LbZAcQaTdJBcgfAa4H_X6KgwB7kMw135-M-x63xK4,1986
28
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_struct.h,sha256=wBrO90eQbD7NqPET5AXexl0EvOpjsE1pvvznWkQQFhU,1005
29
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_thread.h,sha256=bIfYO3kyr8bFNJkC3wz2c7i7UthaMoP3z_BOxjw59TI,2080
27
30
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_types.h,sha256=aIrwZ-3VeBqYHO92WCOMgIxy9TEUTcW2wjVbn64-p7g,233
28
31
  zsp_be_sw/share/include/zsp/esw/zsp_esw_support.h,sha256=5hpBmWfy9cN0fg4g7ZM9uyZCxjCuJzW0T_KFMv5pwug,995
29
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/METADATA,sha256=g27KjivGhHaMkzlxf3liDVhA7Tio5ZJ7V4MR6FBHKzc,672
30
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/WHEEL,sha256=oXeWWTISAcuWB_RPAVKB6sr2lSv95E25Jw9GPmAhcRk,111
31
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
32
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/RECORD,,
33
- zuspec_be_sw-0.1.0.15232861757rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
+ zuspec_be_sw-0.1.0.15240461960rc0.dist-info/METADATA,sha256=MUvtGPcW2qF3epDOygJ-HDyKTlNQANgW5IjZ4tea5lY,672
33
+ zuspec_be_sw-0.1.0.15240461960rc0.dist-info/WHEEL,sha256=oXeWWTISAcuWB_RPAVKB6sr2lSv95E25Jw9GPmAhcRk,111
34
+ zuspec_be_sw-0.1.0.15240461960rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
35
+ zuspec_be_sw-0.1.0.15240461960rc0.dist-info/RECORD,,
36
+ zuspec_be_sw-0.1.0.15240461960rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357