Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform: Library: Move mailbox_sw_reg_read64() from posix mailbox.h #9589

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions posix/include/sof/lib/mailbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ void mailbox_dspbox_read(void *dest, size_t dest_size,
#define mailbox_hostbox_write(_offset, _src, _bytes) \
memcpy((char *)ipc->comp_data + _offset, _src, _bytes)

static inline uint64_t mailbox_sw_reg_read64(uint32_t offset)
{
Comment on lines -75 to -76
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can testbench include this header ? We really want to get rid of platform/include now with Zephyr.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failure is not from testbench source code but rest of SOF code built into testbench.

return 0;
}
#else

static inline
Expand Down
5 changes: 5 additions & 0 deletions src/platform/library/include/platform/lib/mailbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ static inline uint32_t mailbox_sw_reg_read(size_t offset)
return 0;
}

static inline uint64_t mailbox_sw_reg_read64(size_t offset)
{
return 0;
}

#endif /* __PLATFORM_LIB_MAILBOX_H__ */

#else
Expand Down
Loading