Commit 9b51a2d6 authored by Shashi Guruprasad's avatar Shashi Guruprasad

added unknown method which throws an error in the normal case but not

if it is inside make-simulated.

For nsenodes, I ask for a pc850 if available for more CPU horsepower
parent c155a9db
......@@ -90,7 +90,13 @@ NSENode instproc updatedb {DB} {
append nseconfig "set simcode_present $simcode_present\n\n"
}
# NSE code runs only FreeBSD as of now
# We prefer to get a pc850 if available to take advantage of more CPU horsepower
tb-make-soft-vtype pcnsenode {pc850}
tb-set-hardware $self pcnsenode
# NSE code runs only FreeBSD as of now.
$self set osid "FBSD-STD"
# The Node class's updatedb method updates the DB
$self next $DB
}
......@@ -91,6 +91,15 @@ proc punsup {msg} {
}
}
#
# We ignore unsupported tcl commands if it is inside
# make-simulated else error is flagged i.e. we call
# perror which does the right thing
#
proc unknown {args} {
perror "$args"
}
# Parse Arguments
# We setup a few globals that we need for argument parsing.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment