Skip to content

Commit

Permalink
Merge pull request #22 from GaloisInc/export-syscall-functionality
Browse files Browse the repository at this point in the history
Export more functions from `Stubs.Syscall.*`
  • Loading branch information
RyanGlScott authored Jan 5, 2024
2 parents 20f35cd + 6639aa7 commit ad2aba3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion stubs-common/src/Stubs/Syscall/AArch32/Linux.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
-- See <https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md#arm-32_bit_EABI>
-- for the system call number mapping
module Stubs.Syscall.AArch32.Linux (
aarch32LinuxSyscallABI
aarch32LinuxSyscallArgumentRegisters
, aarch32LinuxSyscallReturnRegisters
, aarch32LinuxSyscallABI
) where

import qualified Data.Parameterized.Classes as PC
Expand Down
6 changes: 5 additions & 1 deletion stubs-common/src/Stubs/Syscall/X86_64/Linux.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}

module Stubs.Syscall.X86_64.Linux ( x86_64LinuxSyscallABI ) where
module Stubs.Syscall.X86_64.Linux (
x86_64LinuxSyscallArgumentRegisters
, x86_64LinuxSyscallReturnRegisters
, x86_64LinuxSyscallABI
) where

import qualified Data.Parameterized.Context as Ctx
import qualified Data.Parameterized.NatRepr as PN
Expand Down

0 comments on commit ad2aba3

Please sign in to comment.