 Comprehensive Rust(한국어) 202412(추가런타임 검사, 최 적화 감소) 및 출시 (더 적은 런타임 검사, 최적화증가) 입니다. 상단의 ' 디버그' 에서액세스할 수 있습니다. • 관심이 있으시면 '...' 아래의'ASM' 을 사용해 생성된 어셈블리 코드를확인하세요. 24 As students head into the break, encourage them to open up the playground example, to make an HVC (hypervisor call) to tell the firmware to power off the system: use core::arch::asm; use core::panic::PanicInfo; mod exceptions; const PSCI_SYSTEM_OFF: u32 = 0x84000008; extern "C" main(_x0: u64, _x1: u64, _x2: u64, _x3: u64) { // 선언된 레지스터만 사용하고 메모리로는 // 아무것도 하지 않으므로 안전합니다. unsafe { asm!("hvc #0", inout("w0") PSCI_SYSTEM_OFF => _, inout("w1") 0 => _, inout("w2") 0 => _, inout("w3") 00 码力 | 369 页 | 1.29 MB | 10 月前3 Comprehensive Rust(한국어) 202412(추가런타임 검사, 최 적화 감소) 및 출시 (더 적은 런타임 검사, 최적화증가) 입니다. 상단의 ' 디버그' 에서액세스할 수 있습니다. • 관심이 있으시면 '...' 아래의'ASM' 을 사용해 생성된 어셈블리 코드를확인하세요. 24 As students head into the break, encourage them to open up the playground example, to make an HVC (hypervisor call) to tell the firmware to power off the system: use core::arch::asm; use core::panic::PanicInfo; mod exceptions; const PSCI_SYSTEM_OFF: u32 = 0x84000008; extern "C" main(_x0: u64, _x1: u64, _x2: u64, _x3: u64) { // 선언된 레지스터만 사용하고 메모리로는 // 아무것도 하지 않으므로 안전합니다. unsafe { asm!("hvc #0", inout("w0") PSCI_SYSTEM_OFF => _, inout("w1") 0 => _, inout("w2") 0 => _, inout("w3") 00 码力 | 369 页 | 1.29 MB | 10 月前3
 Comprehensive Rust(추가런타임 검사, 최 적화 감소) 및 출시 (더 적은 런타임 검사, 최적화증가) 입니다. 상단의 ' 디버그' 에서액세스할 수 있습니다. • 관심이 있으시면 '...' 아래의'ASM' 을 사용해 생성된 어셈블리 코드를확인하세요. 24 As students head into the break, encourage them to open up the playground example, to make an HVC (hypervisor call) to tell the firmware to power off the system: use core::arch::asm; use core::panic::PanicInfo; mod exceptions; const PSCI_SYSTEM_OFF: u32 = 0x84000008; extern "C" main(_x0: u64, _x1: u64, _x2: u64, _x3: u64) { // 선언된 레지스터만 사용하고 메모리로는 // 아무것도 하지 않으므로 안전합니다. unsafe { asm!("hvc #0", inout("w0") PSCI_SYSTEM_OFF => _, inout("w1") 0 => _, inout("w2") 0 => _, inout("w3") 00 码力 | 368 页 | 1.29 MB | 1 年前3 Comprehensive Rust(추가런타임 검사, 최 적화 감소) 및 출시 (더 적은 런타임 검사, 최적화증가) 입니다. 상단의 ' 디버그' 에서액세스할 수 있습니다. • 관심이 있으시면 '...' 아래의'ASM' 을 사용해 생성된 어셈블리 코드를확인하세요. 24 As students head into the break, encourage them to open up the playground example, to make an HVC (hypervisor call) to tell the firmware to power off the system: use core::arch::asm; use core::panic::PanicInfo; mod exceptions; const PSCI_SYSTEM_OFF: u32 = 0x84000008; extern "C" main(_x0: u64, _x1: u64, _x2: u64, _x3: u64) { // 선언된 레지스터만 사용하고 메모리로는 // 아무것도 하지 않으므로 안전합니다. unsafe { asm!("hvc #0", inout("w0") PSCI_SYSTEM_OFF => _, inout("w1") 0 => _, inout("w2") 0 => _, inout("w3") 00 码力 | 368 页 | 1.29 MB | 1 年前3
共 2 条
- 1
相关搜索词













