All the device driver programming books mention KERNALRELEASE in the Kernal modules compilation make file.So i dont know what is the use of this KERNALRELEASE variable......P lz anyone clarify my doubt......now its a big headache for me.......
Thanks in advance........ ..
Thanks & Regards
Sasi..
User Profile
Collapse
-
What is the use of KERNALRELEASE
-
No... i am trying to mount NTFS partition(D:/)......from the original os.....like windows xp...... -
Windows partition mountig problem......In fedora-6
I had fedora-6.....Now using fedora through VMWare player....now i am Virtually working fedora in windows xp platform...Now i would like to mount windows partition.but i couldnt........ ..And also i use the mount command like........... ...... mount -t vfat /dev/hda1 /mnt/windows.......Hereafte r i couldnt mount windows partition.....S o plz anyone help me....... -
problem in Visual studio 2005 installation
now i have visual studio 6 in my system .....but i would like to install Visual Studio 2005.now i have original Visual studio 2005 cd.but I try to install but it shows some error like VSSCENARIO.DLL missing......So how can i clear registry content...becau se it shows error also like this plz remove previous edition content.......B ut i fully uninstall that visual studio 6 via control panel...but it shows error like that....... plz anyone give me... -
Plz explain the outportb function
Anyone plz explain outportb function.And also explain the code below........
#define PORT1 0x3F8
outportb(PORT1 + 1 , 0);
outportb(PORT1 + 3 , 0x80);
outportb(PORT1 + 1 , 0x00);
outportb(PORT1 + 3 , 0x03);
outportb(PORT1 + 2 , 0xC7);
outportb(PORT1 + 4 , 0x0B); -
Anyway thanks your reply........i dont know its possible or not........ok thanks daLeave a comment:
-
ok....Is there any possible to write structure in c wrapper code
Example this is my c wrapper code for factorial ok.......Code:#include <Python.h> int fact(int n) { if ((n == 0)||(n==1)) return 1; else return fact(n*fact(n-1)); } static PyObject* fact(PyObject* self, PyObject* args) { const char *command; intLeave a comment:
-
Call the python function from C compiler
This my code in python.now i can call the function HELLO(x,y) from c compiler and also can i see the output of this code in C compiler window...Is it possible....If its possible plz give idea...Code:from ctypes import * class HELLO(Structure): _fields_=[("a",c_int), ("b",c_int)] x=input() y=input() hai=HELLO(x, y) print hai.a,hai.b -
-
size mean like example 2 byte for integer .so the list containing 4 numbers mean the size is 8 ok... that size of the list i want how can i get the size of a particular listLeave a comment:
-
how can i get the size of a list
Actually i have a list, i dont know the size of the list now. how can i find that size. i am not mention about length. I need size of the list -
how can i access the elements in structure
plz give brief explation about structure in python and also give some sample program in structure -
How can i return a array C to python
Now i need information about interface c and python.Now i call c function from python but i dont know how to return a array from c to python
this is my samplecode
...Code:#include <Python.h> #include <Numeric/arrayobject.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #define IDENTITY_DOC
Leave a comment:
-
#include <Python.h>
#include <Numeric/arrayobject.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#define IDENTITY_DOC "\
This method simply unpacks the Array (so that it could be modified)\
and then returns it unchanged."
static PyObject *identity(PyObj ect *self, PyObject *args)
{
int i,n;
PyObject *input;...Leave a comment:
-
How can I return an array from C to python
Now i need information about interface c and python.Now i call c function from python but i dont know how to return a array from c to python -
i need SWIG for windows
i need SWIG for windows and also i need some information about swig like how to install and run.And also i need information how to call c function from python -
How can i call a sub function from C program
Actually i have some code in c .but now i would like to change into python code.so i had a doubt like this how can i call a sub function from C editor to python
No activity results to display
Show More
Leave a comment: