Kernel/OpenSBI: Switched to stdint.h
Not sure when I started typing cstdint but for now I want to stick to stdint.h
This commit is contained in:
parent
44bfd9c4fb
commit
f9ea032b7d
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ namespace opensbi::legacy {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
SbiRet set_timer(std::uint64_t stime_value) {
|
SbiRet set_timer(uint64_t stime_value) {
|
||||||
#if __riscv_xlen == 64
|
#if __riscv_xlen == 64
|
||||||
return ecall(
|
return ecall(
|
||||||
static_cast<sbiword_t>(ExtensionId::SET_TIMER),
|
static_cast<sbiword_t>(ExtensionId::SET_TIMER),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdint>
|
#include <stdint.h>
|
||||||
|
|
||||||
namespace drivers {
|
namespace drivers {
|
||||||
namespace opensbi {
|
namespace opensbi {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <inttypes.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <dtb/dtb.h>
|
#include <dtb/dtb.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue