cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pm-h1940.S (352B)


      1/* SPDX-License-Identifier: GPL-2.0+ */
      2/*
      3 * Copyright (c) 2006 Ben Dooks <ben-linux@fluff.org>
      4 *
      5 * H1940 Suspend to RAM
      6 */
      7
      8#include <linux/linkage.h>
      9#include <asm/assembler.h>
     10#include "map.h"
     11
     12#include "regs-gpio.h"
     13
     14	.text
     15	.global	h1940_pm_return
     16
     17h1940_pm_return:
     18	mov	r0, #S3C2410_PA_GPIO
     19	ldr	pc, [r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO]