diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-11-03 16:30:35 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-11-03 16:36:40 -0700 |
commit | d1849cb5e3b8c714c2dae78bb15465f288707ac5 (patch) | |
tree | b3aad5d06c4b9fec59d1e6ecba1fbd25d1833814 /machine/htif.h | |
parent | 3815c611158f435d36121c2c433af664ad86d8ca (diff) | |
download | pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.zip pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.tar.gz pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.tar.bz2 |
Remove the platform interface
We now automatically detect everything that the platform interface used
to be used for, so it's now obsolete!
Diffstat (limited to 'machine/htif.h')
-rw-r--r-- | machine/htif.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machine/htif.h b/machine/htif.h index fa768d8..a96bf60 100644 --- a/machine/htif.h +++ b/machine/htif.h @@ -15,6 +15,8 @@ #define FROMHOST_CMD(fromhost_value) ((uint64_t)(fromhost_value) << 8 >> 56) #define FROMHOST_DATA(fromhost_value) ((uint64_t)(fromhost_value) << 16 >> 16) +extern uintptr_t htif; +void query_htif(uintptr_t dtb); void htif_console_putchar(uint8_t); int htif_console_getchar(); void htif_poweroff() __attribute__((noreturn)); |