Skip to content

Commit 0c79260

Browse files
committed
add comment for initialize_system_memories
1 parent df0cdf1 commit 0c79260

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/src/utilities.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
const std = @import("std");
22
const microzig = @import("microzig.zig");
33

4+
/// Fills .bss with zeroes and copies .data from flash into ram. May be called
5+
/// internally by the cpu module at startup.
46
pub fn initialize_system_memories() void {
7+
58
// Contains references to the microzig .data and .bss sections, also
69
// contains the initial load address for .data if it is in flash.
710
const sections = struct {

0 commit comments

Comments
 (0)