Sponsored Content
Top Forums Programming Running bin file from a module Post 302505607 by Chrisdot on Thursday 17th of March 2011 11:51:01 AM
Old 03-17-2011
You are right. My friend is creating an UEFI emulator that redefine calls and do all necessary operations.
I need to take advantage of library already loaded (for concept purposes I assume library placed on HDD).
That solution is targeted to work on Redhat.

What I want for now is to make a kind of demo (concept).
It can be simple driver loading simple library and using it for e.g. printing to dmesg.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/sh: /usr/bin/vi: No such file or directory when doing crontab

I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies

2. Programming

find the fully-qualified path for the app my module is running in

Hi- I need the cpp call that will tell me the full path to the app I'm running in. For example, I'm running in a loaded library for either mozilla or firefox, but would like to know the full path to the executable /usr/bin/firefox /usr/bin/mozilla /usr/local/firefox1_5 etc... (For... (4 Replies)
Discussion started by: erwinfletch
4 Replies

3. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

4. Shell Programming and Scripting

Why does my /bin/csh take longer than /bin/perl?

Okay, so I have two "Hello, world!" scripts, "test.pl" and "test.sh". #!/bin/perl -w use strict; print "Hello, world!\n"; #!/bin/csh echo Hello,\ world! When I run test.pl, it runs instantly, always. When I run test.sh, it takes anywhere between 4 and 22 seconds! I'd like to know what... (3 Replies)
Discussion started by: acheong87
3 Replies

5. UNIX for Dummies Questions & Answers

fuser: difference with bin/sh and bin/ksh shell script

Hi, I have a problem I don't understand with fuser. I launch a simple shell script mysleep.sh: I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted: mysleep: Then I modify my script switching from #!/bin/sh to #!/bin/ksh I launch the command fuser -fu... (4 Replies)
Discussion started by: Peuj
4 Replies

6. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

7. Programming

Why am i getting these strange packets while running my packet capture module written in c.?

I have made an packet capture application running on intel machine, it is capturing packets with src address- 17.0.0.0 destination ip- 66.0.0.0, source port- 0, destination port- 0, and protocol- 0 what does these packets mean ? The code written to interpreter captured bytes is given below.... (5 Replies)
Discussion started by: arunpushkar
5 Replies

8. Ubuntu

Compile smbfs module in kernel version 3.10 running Ubuntu 12.04 LTS

Is there any way to compile smbfs module in kernel 3.10 running Ubuntu 12.04 LTS. I did a 'make menuconfig' and it shows cifs. I found out online that smbfs is deprecated and replaced by cifs. I have an old system with kernel version 2.4 which only has smbfs (no cifs). Is it possible to compile... (1 Reply)
Discussion started by: Monil
1 Replies

9. AIX

Redistribution bin required for AIX. j7r164redist.7.1.0.25.bin

Hi, I am planning to install a version of Informatica on my AIX box. It requires a specific java build in pap6470_27sr2-20141101_01(SR2). The current link for IBM 64-bit SDK for AIX®, JavaTM Technology Edition, Version 7 Release 1 has a more recent version in j7r164redist.7.1.0.75.bin. Is... (4 Replies)
Discussion started by: meetpraveens
4 Replies

10. Shell Programming and Scripting

Usage of #!/bin/sh vs #!/bin/bash shell scripts?

Some question about the usage of shell scripts: 1.) Are the commands of the base shell scripts a subset of bash commands? 2.) Assume I got a long, long script WITHOUT the first line. How can I find out if the script was originally designed für "sh" or "bash"? 3.) How can I check a given... (3 Replies)
Discussion started by: pstein
3 Replies
BEH(3)							     cao-vlsi reference manual							    BEH(3)

ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr NAME
BEH - Generic behavioural data structures DESCRIPTION
BEH is a generic data structure supporting vlsi concepts. It allows representation of a behavioral description in a data structure. The goal of BEH is to define an ad hoc single data structure (object), with well known fixed meaning for each concept manipulated within a behavioural description. So any tools that needs to work with a behavioral view can be build upon it using these structures. For each object (data structure), a set of functions has been defined in order to add, delete or access it. These functions are defined in a low-level library libBeh108.a. Some other functions are higher level. They are defined in a high-level library libBhl108.a. There are also some parsers-drivers. A pareser reads a behavioural description file in a given format and build up a complete BEH data base. A driver creates a text file in a given behavioural description format from a BEH data base. A VHDL parser-driver is available in the lib- Bvl103.a library. The behavioural view envolves the following notions: figure behavioural representation of a circuit (see BEFIG). port list ordered list of the circuit's logical ports (see BEPOR). generic a global data (constants) relative to a circuit other than logical ports (see BEGEN). simple output a simple output port of the circuit (see BEOUT). bused output a bused output port of the circuit (see BEBUS). input an input port of the circuit (see BERIN). internal register an internal memorizing element (see BEREG). internal signal an internal simple signal of the circuit (see BEAUX). internal bus an internal bused signal of the circuit (see BEBUX). assert a condition, noticed by the circuit designer, that insures a correct usage of the circuit. The validity of these condi- tions is to be checked continuously at run time (see BEMSG). In order to use BEH, concepts on use of libraries are needed. And, since these libraries are under development, the code is subject to change. To enable work, a static version of each library is always present for the user. Libraries and header files are suffixed by a number (the library's version). The programmer can prefer to work with an earlier version of a library rather than the most recent one. However, it is recommended to adapt softwares to libraries as soon as possible in order to spotlight potential compatibility problems before old libraries are removed. A makefile is necessary for all BEH applications. This is required because any soft must be easily recompilable, and knowing the needed libraries for a BEH based program is not an easy matter. It can't be achieved an other way, so do use makefile. For each behavioural description format a parser and a driver have been developed . These are organized in as many seperate libraries as description format. So if a parser or driver changes it is not needed to recompile BEH. Only a relink of the application is needed. In terms of software organization, BEH is splitted into two libraries for the basic functions, a header file for structures and variable declarations, and , up to now, one parser-driver library for VHDL format. It is to be noticed that library's version number is incremented when, at least, one function composing the library has been modified. Therefore, BEH libraries may evolve independently form each other. Here follows the list of the libraries and their contents. libBeh108.a: beh_addbefig, beh_addbeaux, beh_addbebux, beh_addbegen, beh_addbebus, beh_addbemsg, beh_addbeout, beh_addbe- por, beh_addbereg, beh_addberin, beh_addbiabl, beh_addbinode, beh_delbefig, beh_delbeaux, beh_delbebux, beh_delbe- gen, beh_delbebus, beh_delbemsg, beh_delbeout, beh_delbepor, beh_delbereg, beh_delberin, beh_delbiabl, beh_del- binode, beh_frebefig, beh_frebeaux, beh_frebebux, beh_frebegen, beh_frebebus, beh_frebemsg, beh_frebeout, beh_fre- bepor, beh_frebereg, beh_freberin, beh_frebiabl, beh_frebinode, beh_rmvbefig, beh_rmvbeaux, beh_rmvbebux, beh_rmvbegen, beh_rmvbebus, beh_rmvbemsg, beh_rmvbeout, beh_rmvbepor, beh_rmvbereg, beh_rmvberin libBhl108.a: beh_debug The libraries are organized in such a way that no cycle can appear through calls. It means that if a given library a function calls another function in another library, then none of the functions of this one does call any function that belongs to the first library. EXAMPLE
In order to use BEH libraries, one needs something like that in its makefile: HEADER = -I/labo/include LIB = -L/labo/lib -lBeh108 -lBhl108 -lBvl109 -llog200 -lMut315 SEE ALSO
mbk(1), log(3) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 BEH(3)
All times are GMT -4. The time now is 06:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy