Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 1 | #include "config.h" |
| 2 | |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 3 | #include "file_io.hpp" |
| 4 | |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 5 | #include "file_table.hpp" |
| 6 | |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 7 | #include <fcntl.h> |
| 8 | #include <sys/mman.h> |
| 9 | #include <sys/stat.h> |
| 10 | #include <sys/types.h> |
| 11 | #include <unistd.h> |
| 12 | |
| 13 | #include <cstring> |
| 14 | #include <fstream> |
| 15 | #include <phosphor-logging/log.hpp> |
| 16 | |
| 17 | #include "libpldm/base.h" |
| 18 | |
| 19 | namespace pldm |
| 20 | { |
| 21 | |
| 22 | namespace responder |
| 23 | { |
| 24 | |
| 25 | namespace fs = std::filesystem; |
| 26 | using namespace phosphor::logging; |
| 27 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 28 | namespace dma |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 29 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 30 | |
| 31 | /** @struct AspeedXdmaOp |
| 32 | * |
| 33 | * Structure representing XDMA operation |
| 34 | */ |
| 35 | struct AspeedXdmaOp |
| 36 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 37 | uint64_t hostAddr; //!< the DMA address on the host side, configured by |
| 38 | //!< PCI subsystem. |
| 39 | uint32_t len; //!< the size of the transfer in bytes, it should be a |
| 40 | //!< multiple of 16 bytes |
Eddie James | c6da21e | 2019-05-29 18:29:58 +0000 | [diff] [blame] | 41 | uint32_t upstream; //!< boolean indicating the direction of the DMA |
| 42 | //!< operation, true means a transfer from BMC to host. |
| 43 | }; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 44 | |
| 45 | constexpr auto xdmaDev = "/dev/xdma"; |
| 46 | |
Tom Joseph | 5530676 | 2019-05-02 09:11:26 +0530 | [diff] [blame] | 47 | int DMA::transferDataHost(const fs::path& path, uint32_t offset, |
| 48 | uint32_t length, uint64_t address, bool upstream) |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 49 | { |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 50 | static const size_t pageSize = getpagesize(); |
| 51 | uint32_t numPages = length / pageSize; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 52 | uint32_t pageAlignedLength = numPages * pageSize; |
| 53 | |
| 54 | if (length > pageAlignedLength) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 55 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 56 | pageAlignedLength += pageSize; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 57 | } |
| 58 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 59 | auto mmapCleanup = [pageAlignedLength](void* vgaMem) { |
| 60 | munmap(vgaMem, pageAlignedLength); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | int fd = -1; |
| 64 | int rc = 0; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 65 | fd = open(xdmaDev, O_RDWR); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 66 | if (fd < 0) |
| 67 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 68 | rc = -errno; |
| 69 | log<level::ERR>("Failed to open the XDMA device", entry("RC=%d", rc)); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 70 | return rc; |
| 71 | } |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 72 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 73 | utils::CustomFD xdmaFd(fd); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 74 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 75 | void* vgaMem; |
| 76 | vgaMem = mmap(nullptr, pageAlignedLength, upstream ? PROT_WRITE : PROT_READ, |
| 77 | MAP_SHARED, xdmaFd(), 0); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 78 | if (MAP_FAILED == vgaMem) |
| 79 | { |
| 80 | rc = -errno; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 81 | log<level::ERR>("Failed to mmap the XDMA device", entry("RC=%d", rc)); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 82 | return rc; |
| 83 | } |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 84 | |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 85 | std::unique_ptr<void, decltype(mmapCleanup)> vgaMemPtr(vgaMem, mmapCleanup); |
| 86 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 87 | if (upstream) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 88 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 89 | std::ifstream stream(path.string()); |
| 90 | |
| 91 | stream.seekg(offset); |
| 92 | stream.read(static_cast<char*>(vgaMemPtr.get()), length); |
| 93 | |
Tom Joseph | 7a8a724 | 2019-05-29 15:26:38 +0530 | [diff] [blame] | 94 | if (static_cast<uint32_t>(stream.gcount()) != length) |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 95 | { |
| 96 | log<level::ERR>("mismatch between number of characters to read and " |
| 97 | "the length read", |
| 98 | entry("LENGTH=%d", length), |
| 99 | entry("COUNT=%d", stream.gcount())); |
| 100 | return -1; |
| 101 | } |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 102 | } |
| 103 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 104 | AspeedXdmaOp xdmaOp; |
| 105 | xdmaOp.upstream = upstream ? 1 : 0; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 106 | xdmaOp.hostAddr = address; |
| 107 | xdmaOp.len = length; |
| 108 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 109 | rc = write(xdmaFd(), &xdmaOp, sizeof(xdmaOp)); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 110 | if (rc < 0) |
| 111 | { |
| 112 | rc = -errno; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 113 | log<level::ERR>("Failed to execute the DMA operation", |
| 114 | entry("RC=%d", rc), entry("UPSTREAM=%d", upstream), |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 115 | entry("ADDRESS=%lld", address), |
| 116 | entry("LENGTH=%d", length)); |
| 117 | return rc; |
| 118 | } |
| 119 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 120 | if (!upstream) |
| 121 | { |
| 122 | std::ofstream stream(path.string()); |
| 123 | |
| 124 | stream.seekp(offset); |
| 125 | stream.write(static_cast<const char*>(vgaMemPtr.get()), length); |
| 126 | } |
| 127 | |
| 128 | return 0; |
| 129 | } |
| 130 | |
| 131 | } // namespace dma |
| 132 | |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 133 | Response readFileIntoMemory(const uint8_t* request, size_t payloadLength) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 134 | { |
| 135 | uint32_t fileHandle = 0; |
| 136 | uint32_t offset = 0; |
| 137 | uint32_t length = 0; |
| 138 | uint64_t address = 0; |
| 139 | |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 140 | Response response((sizeof(pldm_msg_hdr) + PLDM_RW_FILE_MEM_RESP_BYTES), 0); |
| 141 | auto responsePtr = reinterpret_cast<pldm_msg*>(response.data()); |
| 142 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 143 | if (payloadLength != PLDM_RW_FILE_MEM_REQ_BYTES) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 144 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 145 | encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 146 | PLDM_ERROR_INVALID_LENGTH, 0, responsePtr); |
| 147 | return response; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 148 | } |
| 149 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 150 | decode_rw_file_memory_req(request, payloadLength, &fileHandle, &offset, |
| 151 | &length, &address); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 152 | |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 153 | using namespace pldm::filetable; |
| 154 | auto& table = buildFileTable(FILE_TABLE_JSON); |
| 155 | FileEntry value{}; |
| 156 | |
| 157 | try |
| 158 | { |
| 159 | value = table.at(fileHandle); |
| 160 | } |
| 161 | catch (std::exception& e) |
| 162 | { |
| 163 | log<level::ERR>("File handle does not exist in the file table", |
| 164 | entry("HANDLE=%d", fileHandle)); |
| 165 | encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, |
| 166 | PLDM_INVALID_FILE_HANDLE, 0, responsePtr); |
| 167 | return response; |
| 168 | } |
| 169 | |
| 170 | if (!fs::exists(value.fsPath)) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 171 | { |
| 172 | log<level::ERR>("File does not exist", entry("HANDLE=%d", fileHandle)); |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 173 | encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 174 | PLDM_INVALID_FILE_HANDLE, 0, responsePtr); |
| 175 | return response; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 176 | } |
| 177 | |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 178 | auto fileSize = fs::file_size(value.fsPath); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 179 | if (offset >= fileSize) |
| 180 | { |
| 181 | log<level::ERR>("Offset exceeds file size", entry("OFFSET=%d", offset), |
| 182 | entry("FILE_SIZE=%d", fileSize)); |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 183 | encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 184 | PLDM_DATA_OUT_OF_RANGE, 0, responsePtr); |
| 185 | return response; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 186 | } |
| 187 | |
| 188 | if (offset + length > fileSize) |
| 189 | { |
| 190 | length = fileSize - offset; |
| 191 | } |
| 192 | |
| 193 | if (length % dma::minSize) |
| 194 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 195 | log<level::ERR>("Read length is not a multiple of DMA minSize", |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 196 | entry("LENGTH=%d", length)); |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 197 | encode_rw_file_memory_resp(0, PLDM_READ_FILE_INTO_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 198 | PLDM_INVALID_READ_LENGTH, 0, responsePtr); |
| 199 | return response; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 200 | } |
| 201 | |
Tom Joseph | 5530676 | 2019-05-02 09:11:26 +0530 | [diff] [blame] | 202 | using namespace dma; |
| 203 | DMA intf; |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 204 | return transferAll<DMA>(&intf, PLDM_READ_FILE_INTO_MEMORY, value.fsPath, |
| 205 | offset, length, address, true); |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 206 | } |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 207 | |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 208 | Response writeFileFromMemory(const uint8_t* request, size_t payloadLength) |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 209 | { |
| 210 | uint32_t fileHandle = 0; |
| 211 | uint32_t offset = 0; |
| 212 | uint32_t length = 0; |
| 213 | uint64_t address = 0; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 214 | |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 215 | Response response(sizeof(pldm_msg_hdr) + PLDM_RW_FILE_MEM_RESP_BYTES, 0); |
| 216 | auto responsePtr = reinterpret_cast<pldm_msg*>(response.data()); |
| 217 | |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 218 | if (payloadLength != PLDM_RW_FILE_MEM_REQ_BYTES) |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 219 | { |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 220 | encode_rw_file_memory_resp(0, PLDM_WRITE_FILE_FROM_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 221 | PLDM_ERROR_INVALID_LENGTH, 0, responsePtr); |
| 222 | return response; |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 223 | } |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 224 | |
| 225 | decode_rw_file_memory_req(request, payloadLength, &fileHandle, &offset, |
| 226 | &length, &address); |
| 227 | |
| 228 | if (length % dma::minSize) |
| 229 | { |
| 230 | log<level::ERR>("Write length is not a multiple of DMA minSize", |
| 231 | entry("LENGTH=%d", length)); |
| 232 | encode_rw_file_memory_resp(0, PLDM_WRITE_FILE_FROM_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 233 | PLDM_INVALID_WRITE_LENGTH, 0, responsePtr); |
| 234 | return response; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 235 | } |
| 236 | |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 237 | using namespace pldm::filetable; |
| 238 | auto& table = buildFileTable(FILE_TABLE_JSON); |
| 239 | FileEntry value{}; |
| 240 | |
| 241 | try |
| 242 | { |
| 243 | value = table.at(fileHandle); |
| 244 | } |
| 245 | catch (std::exception& e) |
| 246 | { |
| 247 | log<level::ERR>("File handle does not exist in the file table", |
| 248 | entry("HANDLE=%d", fileHandle)); |
| 249 | encode_rw_file_memory_resp(0, PLDM_WRITE_FILE_FROM_MEMORY, |
| 250 | PLDM_INVALID_FILE_HANDLE, 0, responsePtr); |
| 251 | return response; |
| 252 | } |
| 253 | |
| 254 | if (!fs::exists(value.fsPath)) |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 255 | { |
| 256 | log<level::ERR>("File does not exist", entry("HANDLE=%d", fileHandle)); |
| 257 | encode_rw_file_memory_resp(0, PLDM_WRITE_FILE_FROM_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 258 | PLDM_INVALID_FILE_HANDLE, 0, responsePtr); |
| 259 | return response; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 260 | } |
| 261 | |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 262 | auto fileSize = fs::file_size(value.fsPath); |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 263 | if (offset >= fileSize) |
| 264 | { |
| 265 | log<level::ERR>("Offset exceeds file size", entry("OFFSET=%d", offset), |
| 266 | entry("FILE_SIZE=%d", fileSize)); |
| 267 | encode_rw_file_memory_resp(0, PLDM_WRITE_FILE_FROM_MEMORY, |
Tom Joseph | 4e48b44 | 2019-06-04 09:23:44 +0530 | [diff] [blame] | 268 | PLDM_DATA_OUT_OF_RANGE, 0, responsePtr); |
| 269 | return response; |
Eddie James | 3b02e27 | 2019-04-22 20:13:55 +0000 | [diff] [blame] | 270 | } |
| 271 | |
Tom Joseph | 5530676 | 2019-05-02 09:11:26 +0530 | [diff] [blame] | 272 | using namespace dma; |
| 273 | DMA intf; |
Tom Joseph | 0722040 | 2019-05-15 16:30:41 +0530 | [diff] [blame] | 274 | return transferAll<DMA>(&intf, PLDM_WRITE_FILE_FROM_MEMORY, value.fsPath, |
| 275 | offset, length, address, false); |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 276 | } |
| 277 | |
Tom Joseph | 1985662 | 2019-06-07 10:18:21 +0530 | [diff] [blame^] | 278 | Response getFileTable(const uint8_t* request, size_t payloadLength) |
| 279 | { |
| 280 | uint32_t transferHandle = 0; |
| 281 | uint8_t transferFlag = 0; |
| 282 | uint8_t tableType = 0; |
| 283 | |
| 284 | Response response(sizeof(pldm_msg_hdr) + |
| 285 | PLDM_GET_FILE_TABLE_MIN_RESP_BYTES); |
| 286 | auto responsePtr = reinterpret_cast<pldm_msg*>(response.data()); |
| 287 | |
| 288 | if (payloadLength != PLDM_GET_FILE_TABLE_REQ_BYTES) |
| 289 | { |
| 290 | encode_get_file_table_resp(0, PLDM_ERROR_INVALID_LENGTH, 0, 0, nullptr, |
| 291 | 0, responsePtr); |
| 292 | return response; |
| 293 | } |
| 294 | |
| 295 | auto rc = decode_get_file_table_req(request, payloadLength, &transferHandle, |
| 296 | &transferFlag, &tableType); |
| 297 | if (rc) |
| 298 | { |
| 299 | encode_get_file_table_resp(0, rc, 0, 0, nullptr, 0, responsePtr); |
| 300 | return response; |
| 301 | } |
| 302 | |
| 303 | if (tableType != PLDM_FILE_ATTRIBUTE_TABLE) |
| 304 | { |
| 305 | encode_get_file_table_resp(0, PLDM_INVALID_FILE_TABLE_TYPE, 0, 0, |
| 306 | nullptr, 0, responsePtr); |
| 307 | return response; |
| 308 | } |
| 309 | |
| 310 | using namespace pldm::filetable; |
| 311 | auto table = buildFileTable(FILE_TABLE_JSON); |
| 312 | auto attrTable = table(); |
| 313 | response.resize(response.size() + attrTable.size()); |
| 314 | responsePtr = reinterpret_cast<pldm_msg*>(response.data()); |
| 315 | |
| 316 | if (attrTable.empty()) |
| 317 | { |
| 318 | encode_get_file_table_resp(0, PLDM_FILE_TABLE_UNAVAILABLE, 0, 0, |
| 319 | nullptr, 0, responsePtr); |
| 320 | return response; |
| 321 | } |
| 322 | |
| 323 | encode_get_file_table_resp(0, PLDM_SUCCESS, 0, PLDM_START_AND_END, |
| 324 | attrTable.data(), attrTable.size(), responsePtr); |
| 325 | return response; |
| 326 | } |
| 327 | |
Tom Joseph | f8329ac | 2019-04-11 22:13:22 +0530 | [diff] [blame] | 328 | } // namespace responder |
| 329 | } // namespace pldm |