Specify our target in .ccls
This commit is contained in:
parent
35f24e7c77
commit
4c936623b5
2 changed files with 3 additions and 1 deletions
2
.ccls
Normal file
2
.ccls
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
%compile_commands.json
|
||||||
|
--target=x86_64-pc-acadia-elf
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#include "hw/pcie.h"
|
#include "hw/pcie.h"
|
||||||
|
|
||||||
int main(uint64_t port_cap) {
|
uint64_t main(uint64_t port_cap) {
|
||||||
dbgln("Yellowstone Initializing.");
|
dbgln("Yellowstone Initializing.");
|
||||||
uint64_t msg_type, type, cap, bytes, caps;
|
uint64_t msg_type, type, cap, bytes, caps;
|
||||||
check(ZPortRecv(port_cap, 8, reinterpret_cast<uint8_t*>(&msg_type), 1, &cap,
|
check(ZPortRecv(port_cap, 8, reinterpret_cast<uint8_t*>(&msg_type), 1, &cap,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue