| // Copyright 2021 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library fuchsia.hardware.acpi; | |
| type NotificationMode = flexible bits { | |
| /// Receive notifications with values 0x00-0x7f. | |
| SYSTEM = 0x01; | |
| /// Receive notifications with values 0x80-0xff. | |
| DEVICE = 0x02; | |
| }; | |
| protocol NotifyHandler { | |
| Handle(struct { | |
| value uint32; | |
| }) -> (); | |
| }; |