blob: bcb61bf03f927c9ad60aacc056d61f0968df4fa8 [file] [log] [blame]
Vladimir Serbinenko3129f792014-10-15 21:51:47 +02001package main
2
3func NoEC(ctx Context) {
4 ap := Create(ctx, "acpi/platform.asl")
5 defer ap.Close()
6
Iru Cai16f213a2020-09-16 16:23:46 +08007 Add_gpl(ap)
Vladimir Serbinenko3129f792014-10-15 21:51:47 +02008 ap.WriteString(
Paul Menzel56258ff2020-01-15 14:28:58 +01009 `Method(_WAK, 1)
Vladimir Serbinenko3129f792014-10-15 21:51:47 +020010{
Paul Menzel56258ff2020-01-15 14:28:58 +010011 Return(Package() {0, 0})
Vladimir Serbinenko3129f792014-10-15 21:51:47 +020012}
13
Paul Menzel56258ff2020-01-15 14:28:58 +010014Method(_PTS, 1)
Vladimir Serbinenko3129f792014-10-15 21:51:47 +020015{
16}
17`)
18
19 si := Create(ctx, "acpi/superio.asl")
20 defer si.Close()
21
22 ec := Create(ctx, "acpi/ec.asl")
23 defer ec.Close()
24}