We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d3ddca commit ed72405Copy full SHA for ed72405
port/wch/ch32v/src/cpus/main.zig
@@ -306,7 +306,7 @@ pub const startup_logic = struct {
306
\\ addi a1, a1, 4
307
\\ blt a1, a2, clear_bss_loop
308
\\clear_bss_done:
309
- );
+ ::: .{ .x10 = true, .x11 = true, .x12 = true });
310
311
// Copy .data from FLASH to RAM.
312
asm volatile (
@@ -321,7 +321,7 @@ pub const startup_logic = struct {
321
322
\\ bne a1, a2, copy_data_loop
323
\\copy_done:
324
+ ::: .{ .x10 = true, .x11 = true, .x12 = true, .x13 = true });
325
}
326
327
fn _system_init() callconv(.c) void {
0 commit comments