packages feed

heystone-0.1.0: src/Heystone/CPU/Hexagon.chs

{-# LANGUAGE ForeignFunctionInterface #-}

{-|
Module      : Heystone.CPU.Hexagon
Description : Definitions for the Hexagon architecture.
Copyright   : (C) Adrian Herrera, 2016
License     : GPL-2

Definitions for the Hexagon architecture.
-}
module Heystone.CPU.Hexagon
    (
      Error(..)
    ) where

{# context lib = "keystone" #}

#include <keystone/hexagon.h>

-- | Hexagon errors.
{# enum ks_err_asm_hexagon as Error
   { underscoreToCase }
   with prefix = "KS_ERR_ASM_HEXAGON_"
   deriving (Show, Eq, Bounded)
#}