Skip to content
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
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

- name: Build
run: |
git submodule update --init
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest /app/build.sh
tar -czvf build.tar.gz build

Expand Down Expand Up @@ -52,4 +53,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
id: ${{ steps.create_release.outputs.id }}
id: ${{ steps.create_release.outputs.id }}
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true

- name: Build
run: |
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest /app/build.sh


3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "include/libhc"]
path = include/libhc
url = https://github.com/panda-re/libhc
193 changes: 0 additions & 193 deletions include/hypercall.h

This file was deleted.

1 change: 1 addition & 0 deletions include/libhc
Submodule libhc added at 252d80
2 changes: 1 addition & 1 deletion libhypernvram/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "alias.h"
#include "nvram.h"
#include "config.h"
#include "hypercall.h"
#include "libhc/hypercall.h"

/* Generate variable declarations for external NVRAM data. */
#define NATIVE(a, b)
Expand Down
2 changes: 1 addition & 1 deletion tests/hc_test.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdint.h>
#define MAGIC_VALUE 5
#include "hypercall.h"
#include "libhc/hypercall.h"
#include <stdio.h>
#include <string.h>

Expand Down