History log of /openbmc/google-ipmi-sys/bmc_mode_enum.hpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 15d4d21c 11-Jul-2023 Hao Zhou <haoooamazing@google.com>

File System: Dependency Injection and Mock

1. Add an abstract FileSystemInterface for Dependency Injection
2. Add FileSystemWrapper for real file system operations, which is
called in produciton

File System: Dependency Injection and Mock

1. Add an abstract FileSystemInterface for Dependency Injection
2. Add FileSystemWrapper for real file system operations, which is
called in produciton
3. Add FileSystemMock for unit test mock only
4. Add bm_mode_transition_unittest.cpp to cover file system based bm
mode transition

Tested:
1/14 eth OK 0.22s
2/14 flash OK 0.21s
3/14 machine OK 0.12s
4/14 bmc_mode OK 0.05s
5/14 cable OK 0.27s
6/14 cpld OK 0.25s
7/14 entity OK 0.24s
8/14 google_accel_oob OK 0.20s
9/14 pcie OK 0.11s
10/14 poweroff OK 0.09s
11/14 psu OK 0.08s
12/14 pcie_bifurcation OK 0.07s
13/14 bm_mode_transition OK 0.29s
14/14 handler OK 0.44s

Ok: 14
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

Change-Id: I8d0d9096fbeee7af1946d7e73f548e4a249d3bee
Signed-off-by: Hao Zhou <haoooamazing@google.com>

show more ...


# dd040179 22-Jun-2023 Brandon Kim <brandonkim@google.com>

bmc_mode: Add #pragma once

This was missed initially

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I9d7de13bab0e18e1335654f174c5d4564771464f


# 2aaf2c05 28-Oct-2022 Brandon Kim <brandonkim@google.com>

bmc_mode_enum: Add cstdint include to the header

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I47704b6684192cb1825682956b67b5ed3b41e911


# 8ec4106b 24-Oct-2022 Nikhil Namjoshi <nikhilnamjoshi@google.com>

Move bmc mode enum to a header file

Tested:

Response in BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 01

Response in Non-BM Mode:
ipmitool raw 0x2e 0x32 0x79

Move bmc mode enum to a header file

Tested:

Response in BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 01

Response in Non-BM Mode:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x10
79 2b 00 14 00

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
Change-Id: I3e0ca730ccaed74c3195eb3a4002719077251745

show more ...