Lines Matching +full:wake +full:- +full:up
1 // SPDX-License-Identifier: GPL-2.0+
31 enter_acpi_mode(fadt->pm1a_cnt_blk); in acpi_resume()
39 memcpy((void *)0x1000, (const void *)gd->arch.backup_mem, in acpi_resume()
49 gd->start_addr_sp -= S3_RESERVE_SIZE; in acpi_s3_reserve()
50 gd->arch.backup_mem = gd->start_addr_sp; in acpi_s3_reserve()
52 gd->start_addr_sp &= ~0xf; in acpi_s3_reserve()
55 * U-Boot sets up the real mode interrupt handler stubs starting from in acpi_s3_reserve()
56 * address 0x1000. In most cases, the first 640K (0x00000 - 0x9ffff) in acpi_s3_reserve()
61 * If U-Boot is in an S3 resume path, care must be taken not to corrupt in acpi_s3_reserve()
63 * Microsoft Windows 10 on Intel Baytrail its wake up vector happens to in acpi_s3_reserve()
64 * be installed at the same address 0x1000. While on Linux its wake up in acpi_s3_reserve()
73 * real mode page. Hence we choose to back up these memories to the in acpi_s3_reserve()
75 * Before jumping to OS wake up vector, we need restore the original in acpi_s3_reserve()
78 if (gd->arch.prev_sleep_state == ACPI_S3) in acpi_s3_reserve()
79 memcpy((void *)gd->arch.backup_mem, (const void *)0x1000, in acpi_s3_reserve()