blob: 3cc25b2d85516ed86f4ee890e707ff911488046f [file] [log] [blame]
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (c) 2011 Sven Schnelle <svens@stackframe.org>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
9 * the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010015 */
16
17#include "smi.h"
18Scope (\_GPE)
19{
20 Method(_L18, 0, NotSerialized)
21 {
22 /* Read EC register to clear wake status */
23 Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
Vladimir Serbinenkob27c24f2016-02-08 00:10:44 +010024 /* So that we don't get a warning that Local0 is unused. */
25 Increment (Local0)
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010026 }
Vladimir Serbinenko9bf05de2013-11-14 19:11:19 +010027}