summaryrefslogtreecommitdiff
path: root/tools/HPMHookGen/HPMHookGen.pl
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-22 01:06:07 +0100
committerHaru <haru@dotalux.com>2015-01-24 14:37:25 +0100
commitfe55c7980099b2813a182cdfcc571df705601a4a (patch)
tree367bbfe270fbb8ccdf31d57fe5b2714cf2ec46f6 /tools/HPMHookGen/HPMHookGen.pl
parentfc50b63d454f59620e0d3ef6674bd9ae54a6175f (diff)
downloadhercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.gz
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.bz2
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.xz
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.zip
Minor channel system refactoring
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools/HPMHookGen/HPMHookGen.pl')
-rwxr-xr-xtools/HPMHookGen/HPMHookGen.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl
index 03b32394c..4fa548e44 100755
--- a/tools/HPMHookGen/HPMHookGen.pl
+++ b/tools/HPMHookGen/HPMHookGen.pl
@@ -217,6 +217,8 @@ sub parse($$) {
$rtinit = ' = BL_NUL';
} elsif ($x =~ /^enum\s+homun_type$/) { # Known enum homun_type
$rtinit = ' = HT_INVALID';
+ } elsif ($x =~ /^enum\s+channel_operation_status$/) { # Known enum channel_operation_status
+ $rtinit = ' = HCS_STATUS_FAIL';
} elsif ($x =~ /^enum\s+bg_queue_types$/) { # Known enum bg_queue_types
$rtinit = ' = BGQT_INVALID';
} elsif ($x =~ /^struct\s+.*$/ or $x eq 'DBData') { # Structs