1 #pragma once
2 #include <lib/tidl/tidl.h>
3 class IBootDone {
4 public:
~IBootDone()5     virtual ~IBootDone() {}
6     virtual int set_boot_done() = 0;
7     static constexpr char PORT[] = "com.android.trusty.boot_done.tidl";
8     enum : uint32_t {
9         REQ_SHIFT = 1,
10         RESP_BIT = 1,
11         CMD_set_boot_done = (0 << REQ_SHIFT),
12     };
13     struct TIDL_PACKED_ATTR Request_set_boot_done {
14         static constexpr uint32_t num_handles = 0U;
send_handlesRequest_set_boot_done15         void send_handles(::tidl::Handle*& ptr) {}
recv_handlesRequest_set_boot_done16         void recv_handles(::tidl::Handle*& ptr) {}
17     };
destroy()18     virtual void destroy() {}
19 };
20