occheung
  • Joined on 2020-05-03
occheung created pull request M-Labs/nac3#603 2025-04-02 13:45:40 +08:00
nac3standalone test: pass struct cslice by value when being a string
occheung pushed to master at occheung/nac3 2025-04-02 13:43:48 +08:00
e4f6fbeeeb expr: remove byref/byval attribute for struct args
occheung pushed to rm-extern-byref at occheung/nac3 2025-04-02 13:43:07 +08:00
65fa85815a nac3standalone test: pass struct cslice by value when intended to be a string
occheung created pull request M-Labs/nac3#602 2025-04-01 16:29:45 +08:00
core: remove byref/byval attribute for struct args in extern call
occheung pushed to master at occheung/nac3 2025-04-01 16:00:19 +08:00
f5285fbf7f [artiq] Bump PyO3 to 0.24
b82926297b [artiq] Bump PyO3 to 0.23
8142e01aeb [artiq] Remove usage of gil-refs feature
e8c967cc29 [artiq] Remove all usages of deprecated APIs
902fd97a0a [artiq] Refactor function signatures of #[pymethods] functions
Compare 13 commits »
occheung pushed to rm-extern-byref at occheung/nac3 2025-04-01 15:56:46 +08:00
e4f6fbeeeb expr: remove byref/byval attribute for struct args
f5285fbf7f [artiq] Bump PyO3 to 0.24
b82926297b [artiq] Bump PyO3 to 0.23
8142e01aeb [artiq] Remove usage of gil-refs feature
e8c967cc29 [artiq] Remove all usages of deprecated APIs
Compare 10 commits »
occheung created branch rm-extern-byref in occheung/nac3 2025-04-01 15:56:46 +08:00
occheung commented on issue M-Labs/nac3#299 2025-03-31 17:14:21 +08:00
passing string into kernel invokation breaks

str type registration issue seems to have resolved some time earlier.

Now it is the return type causing error:

======================================================================
ERR…
occheung commented on issue M-Labs/artiq-zynq#371 2025-03-25 11:02:00 +08:00
Invalidate I-cache after rebinding nac3ld-linked binaries (if necessary)

Rebinding for ARM is achieved by rewriting the function address on designated positions specified by the relocation section. It doesn't involve rewriting instructions.

Anyway, rebind does…

occheung commented on pull request M-Labs/nac3#597 2025-03-24 12:23:42 +08:00
nac3ld: include non-PROGBITS section to the R&W PT_LOAD program header

Somehow I put non-PROGBITS as PROGBITS, PROGBITS should already be loaded before dealing with relocations.

One would expect the .bss section to be zero'd at the startup of a program.

Yes.…

occheung pushed to phdr-include at occheung/nac3 2025-03-24 12:23:35 +08:00
dd7099e92c nac3ld: include non-PROGBITS in R&W PT_LOAD program header
occheung created pull request M-Labs/nac3#597 2025-03-21 16:47:04 +08:00
nac3ld: include PROGBITS section to the R&W PT_LOAD program header
occheung pushed to phdr-include at occheung/nac3 2025-03-21 16:46:14 +08:00
2fd45a7bad nac3ld: include PROGBITS section to the R&W PT_LOAD program header
occheung pushed to master at occheung/nac3 2025-03-21 16:26:52 +08:00
0bbe5a63b5 msys2: fix llvm build
d119b0dc8b msys2: update
d986449c63 update dependencies
1a1713af5a Revert "Update nac3artiq/src/codegen.rs"
f501269ae0 Revert "Update nac3artiq/src/codegen.rs"
Compare 17 commits »
occheung created branch phdr-include in occheung/nac3 2025-03-21 16:25:49 +08:00
occheung pushed to phdr-include at occheung/nac3 2025-03-21 16:25:49 +08:00
cee2996a0b nac3ld: include .dynamic and PROGBITS section to a PT_LOAD program
occheung created branch none-reloc in occheung/nac3 2025-03-21 16:22:10 +08:00
occheung pushed to none-reloc at occheung/nac3 2025-03-21 16:22:10 +08:00
23a37fdfda nac3ld: discard NONE relocations
0bbe5a63b5 msys2: fix llvm build
d119b0dc8b msys2: update
d986449c63 update dependencies
1a1713af5a Revert "Update nac3artiq/src/codegen.rs"
Compare 10 commits »
occheung commented on pull request M-Labs/nac3#595 2025-03-07 16:27:43 +08:00
WIP: Passing kwarg into RPC

What is this?

occheung created pull request M-Labs/artiq-zynq#365 2025-03-05 12:23:22 +08:00
Support shuttler as a peripheral of kasli-soc satellite