<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/include/sbi/sbi_platform.h, branch v0.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_platform.h?h=v0.4</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/include/sbi/sbi_platform.h?h=v0.4'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2019-06-29T15:29:45Z</updated>
<entry>
<title>include: Add firmware context to sbi_platform</title>
<updated>2019-06-29T15:29:45Z</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2019-06-29T14:10:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=9c18c2c61073cdd9a0f2e731dc8e2b2aa38ffb3f'/>
<id>urn:sha1:9c18c2c61073cdd9a0f2e731dc8e2b2aa38ffb3f</id>
<content type='text'>
Add firmware context field struct sbi_platform to carry firmware
specific information.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Add version info to struct sbi_platform</title>
<updated>2019-06-29T13:56:26Z</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2019-06-29T08:18:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=08b196956d684678e930850bc1b54d602dfff555'/>
<id>urn:sha1:08b196956d684678e930850bc1b54d602dfff555</id>
<content type='text'>
Add version control of sbi_platform structure
- Add opensbi_version, this gives information of opensbi revision on
which the sbi_platform table was created.
- Add platform_version field in sbi_platform structure for platform
level version control.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Move callbacks in sbi_platform to separate struct</title>
<updated>2019-06-29T12:50:00Z</updated>
<author>
<name>Abner Chang</name>
<email>abner.chang@hpe.com</email>
</author>
<published>2019-06-29T08:18:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=fa6fd6bf86e97140cf3c991f605cf04a0b24ab50'/>
<id>urn:sha1:fa6fd6bf86e97140cf3c991f605cf04a0b24ab50</id>
<content type='text'>
Move platform opensbi functions to sbi_platform_operations structure.
Both sbi_platform and sbi_platform_operations structures are maintained
by platform vendors.

Signed-off-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Acked-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>all: run clang-format and update checked-in files</title>
<updated>2019-04-24T04:19:46Z</updated>
<author>
<name>Olof Johansson</name>
<email>olof@lixom.net</email>
</author>
<published>2019-04-11T00:41:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=10baa64c02f6746fd506136e0693aa2d592574fb'/>
<id>urn:sha1:10baa64c02f6746fd506136e0693aa2d592574fb</id>
<content type='text'>
Noisy commit, no functional changes.

Generated with an current upstream clang-format and:

clang-format -i $(find . -name \*.[ch])

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>platform: Make the `platform` read-only</title>
<updated>2019-03-06T19:10:35Z</updated>
<author>
<name>Xiang Wang</name>
<email>wxjstz@126.com</email>
</author>
<published>2019-03-06T07:29:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=9eb8f0f90d5c873576d18d405bbd932ad9688741'/>
<id>urn:sha1:9eb8f0f90d5c873576d18d405bbd932ad9688741</id>
<content type='text'>
platform should be a read-only variable, if it is placed in the data
segment, it may be exploited.

Signed-off-by: Xiang Wang &lt;wxjstz@126.com&gt;
</content>
</entry>
<entry>
<title>lib:platform: Fix sbi_getc return type.</title>
<updated>2019-03-05T08:35:12Z</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2019-02-28T01:42:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=86cc9b8633bea3bc6fbda145424f871ea553af9e'/>
<id>urn:sha1:86cc9b8633bea3bc6fbda145424f871ea553af9e</id>
<content type='text'>
As per the current SBI specification, sbi_getc should return
an int instead of char.

In case of FIFO is empty, return -1 as per the specification.

Reported-by: Sergi Granell &lt;xerpi.g.12@gmail.com&gt;
Suggested-by:Thadeu Lima de Souza Cascardo &lt;cascardo@cascardo.eti.br&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>all: Update copyright header in all files</title>
<updated>2019-01-24T08:37:47Z</updated>
<author>
<name>Anup patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-24T06:11:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=20990ee0abaf286917b6e2aae992d4183ff695f6'/>
<id>urn:sha1:20990ee0abaf286917b6e2aae992d4183ff695f6</id>
<content type='text'>
This patch updates copyright header in all files as follows:
1. Makes "SPDX-License-Identifier: BSD-2-Clause" as first line
2. Change copyright year to 2019 for Western Digital

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Use TRUE/FALSE as return values in sbi_platform_hart_disabled()</title>
<updated>2019-01-23T03:30:35Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-23T03:30:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=d68741d8b1ed50fb9a86a475074b6ddf1f818813'/>
<id>urn:sha1:d68741d8b1ed50fb9a86a475074b6ddf1f818813</id>
<content type='text'>
The sbi_platform_hart_disabled() returns bool hence explicitly return
TRUE or FALSE instead of 1 or 0.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Rename ipi_inject() to ipi_send() for sbi_platform</title>
<updated>2019-01-23T03:09:26Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-23T02:43:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=025d0ae994e5663e8c2ca0e16c42e814abac027d'/>
<id>urn:sha1:025d0ae994e5663e8c2ca0e16c42e814abac027d</id>
<content type='text'>
For better naming, we rename ipi_inject() to ipi_send() in
struct sbi_platform. We also replace term "inject" with
"send" in all related places.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>include: Drop MMIO from SBI_PLATFORM_HAS_MMIO_TIMER_VALUE</title>
<updated>2019-01-23T03:09:26Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-23T02:33:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=36394d2f2429c48d1db4e26ad25f9541c8c1027f'/>
<id>urn:sha1:36394d2f2429c48d1db4e26ad25f9541c8c1027f</id>
<content type='text'>
It is not necessary that platform has MMIO-based timer value
register. It can also have some custom (implementation specific)
CSR for timer value.

This patch renames SBI_PLATFORM_HAS_MMIO_TIMER_VALUE to
SBI_PLATFORM_HAS_TIMER_VALUE to imply "platform timer value"
instead of "mmio timer value".

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
