- 14 Sep, 2018 16 commits
-
-
Andrew Jeffery authored
windows_reset_all() returns a boolean value, so make sure we don't place annoying requirements on the users. Change-Id: I0f9a45256e2236c0a76696e2cc8a2df2ad0a98bd Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ic10ba2be78deb6307af195fc01daceb19a82ef95 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: If34f2f6cac002fae417d99baec8c08f675cdb974 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I989d5e2a65950cb936fca77d28f7a540d3ec90a2 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I9f261b56fe66e56d71c069d63f5caba5394cbe12 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I85b318cae135cfe8203cb01c54ab4872fcc947c0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I1d16f72c28a4ce2ab8dd92d17b29ad9227ea542b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ibf94de2dfa3554c5e81fe53ee2b422f9a4014581 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I15de434610b0f2a3cd54061c353dcc4d9434352b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I652b76adea470de02d1d01dc1d062caf52a37448 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I99b13eca8f25d9855aac2af0a9ec46dfe5390834 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I873c60ef072c2e46d1306a086ce81d28927b593c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
The protocol layer now just filters the events based on the version of the protocol in use, and leaves it to the transport layer to manage how the resulting state is represented. For the moment this simply moves manipulation of bmc_events in struct mbox_context down in to the transport layer. Change-Id: Iff1df934505dc9c769be3d376396d425fb4e8264 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Rather, trigger them (or not) as necessary in the relevant code-paths. This ensures that any call to one of protocol_events_{set,clear}() actually has a consequence that we can set about dealing with in the transport layer. Change-Id: If64733fa53ed9def0da8330c99cbe48327bab934 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Also flush the event state out via the new transport. This must be done after the command has completed for the mbox transport. Change-Id: I251fb949ae67a477288d0d57a1a6afe5b2af5f8f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I59cf0155b3f8600527cca23a14f41ef7d916a831 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
- 12 Sep, 2018 22 commits
-
-
Andrew Jeffery authored
The current strategy caused memory corruption if windows are down-sized from the default when a dirty-byte-map reallocation is triggered, as the code would only allocate a dirty byte map of the current size. When the window is resized up a gain the dirty byte map buffer is too small, and we write off the end. Instead, always allocate a byte map of the default window size which is the largest the window can be. Change-Id: I6f8dc414fb26c64e4947d5a19d6b795ead36e180 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Refine the purpose of the header file to represent what's required for the daemon itself, not its constituent pieces. Rather, split those definitions out to their respective header files and include them as necessary. Finally the header file is renamed to better reflect its purpose. Change-Id: I48c409f57d96c844589cd865b24f197477dfe87c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ie400ccfada8890ddc626deadabd58fe4bf4c3cd3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I212277ed2462089b905546ef048308d24a5489d0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I7c5457099e90ea4ed498fd1898b4504f051d13fc Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
How this works will be transport-dependent. Move the event notification helpers into the protocol abstraction and call-back through the registered flush handler as necessary. Change-Id: I29e3a9a9785b92de46a2b2750257fb7f8480a184 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ie20b2cadf1a7eea2ea00bc1c134b2dbb1a23a69d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: If9dbb4e3ac849abc8651285f95025a9b53a35753 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I95d1eee536e4113867fceb5dcda45e15dc032002 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
We only need to do it once, after we've invoked the transport handler. Previously it was distributed across the handler implementations which was necessary while we were converting the handlers to standard errnos. Change-Id: I76c02d768d297aa50bb9809b0392832d76046fc1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
By hijacking the transport the changes in behaviour were limited to the mailbox interface. Now that we have a DBus interface as well this would lead to inconsistent behaviour dependent on the transport. Instead of hooking the transport, push the hook down to the protocol level where we will achieve consistent behaviour across all transports. Change-Id: I437866a6dbda107149336c15a00ee1aa058f5875 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I3ebad03d7f79381c683a121c181db9f30a13a3c4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I222a8f60edba0a5f5f2c938a6e2d78e2e0441a23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ic5be69f534c9ff277cc3f7e5a85a0eae5bc41716 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I8b533f911e2d008f474817831836d29663511e98 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I192b96fa02a2266dd55ee97e5f4a751b45e3ae77 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ia1f55488c2aaefbe744305d3ed823e41e48a5934 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I82e9e69861163fb1ae35313fcfee37e03be69f65 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Iff6c452c1399bc8e8f65219779c6a0f2375c68e6 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ie5c11e71312c30de1aa9ec14d963bde91545dc50 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: Ie3338714813bb65f5d37fcd046dd5bebc0ba21f0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I0f4e206648c02a98fa938a7e582470c8d90904f1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
- 05 Sep, 2018 2 commits
-
-
Andrew Jeffery authored
Change-Id: Ic491b97b0aa775201f6fc709fb0703b3fde4d9b2 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-
Andrew Jeffery authored
Change-Id: I523851c2cb654bc7c88532f2097f9c24196f6e78 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-