| Index: mojo/edk/system/ports/event.h
|
| diff --git a/mojo/edk/system/ports/event.h b/mojo/edk/system/ports/event.h
|
| index aec9f6b43b98f26c1f425b4235edc1ceb30d4374..62bcdc2d06f0034be84710f7dd44950fb0cc64e7 100644
|
| --- a/mojo/edk/system/ports/event.h
|
| +++ b/mojo/edk/system/ports/event.h
|
| @@ -9,15 +9,15 @@
|
|
|
| #include "mojo/edk/system/ports/message.h"
|
| #include "mojo/edk/system/ports/name.h"
|
| -#include "mojo/public/c/system/macros.h"
|
|
|
| namespace mojo {
|
| namespace edk {
|
| namespace ports {
|
|
|
| -// TODO: Add static assertions of alignment.
|
| +struct PortDescriptor {
|
| + PortDescriptor();
|
| + ~PortDescriptor();
|
|
|
| -struct MOJO_ALIGNAS(8) PortDescriptor {
|
| NodeName peer_node_name;
|
| PortName peer_port_name;
|
| NodeName referring_node_name;
|
| @@ -26,9 +26,12 @@ struct MOJO_ALIGNAS(8) PortDescriptor {
|
| uint64_t next_sequence_num_to_receive;
|
| uint64_t last_sequence_num_to_receive;
|
| bool peer_closed;
|
| + uint8_t padding0;
|
| + uint16_t padding1;
|
| + uint32_t padding2;
|
| };
|
|
|
| -enum struct EventType : uint32_t {
|
| +enum EventType : uint32_t {
|
| kUser,
|
| kPortAccepted,
|
| kObserveProxy,
|
|
|