| ... | @@ -469,10 +469,10 @@ pub const CallingConvention = union(enum(u8)) { | ... | @@ -469,10 +469,10 @@ pub const CallingConvention = union(enum(u8)) { |
| 469 | /// The boundary the stack is aligned to when the function is called. | 469 | /// The boundary the stack is aligned to when the function is called. |
| 470 | /// `null` means the default for this calling convention. | 470 | /// `null` means the default for this calling convention. |
| 471 | incoming_stack_alignment: ?u64 = null, | 471 | incoming_stack_alignment: ?u64 = null, |
| 472 | /// The privilege level. | 472 | /// The privilege mode. |
| 473 | level: PrivilegeLevel = .machine, | 473 | mode: PrivilegeMode = .machine, |
| 474 | | 474 | |
| 475 | pub const PrivilegeLevel = enum(u2) { | 475 | pub const PrivilegeMode = enum(u2) { |
| 476 | user, | 476 | user, |
| 477 | supervisor, | 477 | supervisor, |
| 478 | machine, | 478 | machine, |