LIP6, INRIA | project Regal |
The following policies are for use with the version of Bossa providing high-resolution timers:
make install
will put the new kernel in
/boot/bossa2.4
. This version of Bossa includes a compiler and
the file bossa_install
in the scripts directory of the kernel
source tree. make install
installs these automatically. Edit
the beginning of the Makefile
at the root of the kernel source
tree to indicate the directory in which these files should be installed and
your version of Linux.
This was most
recently updated November 28, 2004.
make install
will put the new kernel in
/boot/bossa2.4/vmlinuz-2.4.20-bossa-hrt
.
/boot/bossa2.4
. This version of Bossa includes a compiler,
the file bossa_install
, the program manager.c
,
and the file load.c
in the scripts directory of the kernel
source tree. These files are desribed in more detail below. Note that the
compiler evolves rapidly, and it may be useful to take the latest version
below rather than the one provided with the kernel. make
install
installs these files automatically. Edit
the beginning of the Makefile
at the root of the kernel source
tree to indicate the directory in which these files should be installed and
your version of Linux.
This was most
recently updated November 28, 2004.
-hrt
to compile a policy for use with high resolution timers.
For use with Linux 2.4 only.
This was most recently updated June 14, 2005.
The following are some tools for use with Bossa:
bossa_install
. The argument
to this script is the name of one or more policies, with or without the
.bossa
extension. Some configuration is required, as described at the top of the
file. For use with Linux 2.4 only.
This was most recently updated April 12, 2004.
manager.c
. No special
options are required when compiling this file.
For use with Linux 2.4 only. This was most
recently updated April 12, 2004.
renice.c
, for
attaching a program to a given scheduler. The scheduler must already be
loaded into the hierarchy. This program is used as follows. Assume you
want to run the program prog
with arguments file1
and file2
on the scheduler Sched
whose attach
function has the prototype:
void attach (process p, int x, int y);
and the values of x
and y
should be 12 and 15,
respectively. Then, if renice.c
is compiled as the file
./renice
:
./renice Sched 12 15 prog file1 file2
This only works with the Bossa compiler dated January 12, 2004 and later. The attach function is assumed to take the process to attach as the first argument. The name of the program to run must begin with a non-numeric character. For use with Linux 2.4 only. This was most recently updated January 12, 2004.
load.c
, to allow installing
and uninstalling schedulers from within a program.
For use with Linux 2.4 only.
This was most
recently updated January 12, 2004.
bossa.el
. To use this, put the
following lines in your .emacs
file:
(setq auto-mode-alist (cons '("\\.bossa$" . bossa-mode) auto-mode-alist)) (autoload 'bossa-mode "bossa" (interactive) "Major mode for editing Bossa code." t)and put the file
bossa.el
somewhere in your
load-path
. To compile and install, type ^C^C
in
the buffer containing the Bossa file.
This was most recently updated June 28, 2004.
bossa.vim
. To use this file,
put it in /usr/share/vim/syntax/
(for a standard vim
installation).
This was last updated November 10, 2004.
Hourglass makes graphs using jgraph
, which can be obtained here.