Use acpigen_write_processor_cnot to implement notifications to the CPU. Change-Id: Id64f9857bbd7db520c94de949db8f823f71d6dae Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/29891 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
36 lines
873 B
Plaintext
36 lines
873 B
Plaintext
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2014 Google Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/* These come from the dynamically created CPU SSDT */
|
|
External (\_PR.CNOT, MethodObj)
|
|
|
|
/* Notify OS to re-read CPU tables */
|
|
Method (PNOT)
|
|
{
|
|
\_PR.CNOT (0x81)
|
|
}
|
|
|
|
/* Notify OS to re-read CPU _PPC limit */
|
|
Method (PPCN)
|
|
{
|
|
\_PR.CNOT (0x80)
|
|
}
|
|
|
|
/* Notify OS to re-read Throttle Limit tables */
|
|
Method (TNOT)
|
|
{
|
|
\_PR.CNOT (0x82)
|
|
}
|