Hi,
I am new to the linux kernel development area. I want to know what is the difference between kernel mode stack and user mode stack? Does each process has a user mode stack and a kernel mode stack?? Or Each process has a user mode stack and there is only one kernel mode stack that is shared by... (4 Replies)
Hi,all:
I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% of one core while the user mode process only consumes 10% of the other core, is there any solution that I can assign some computing... (1 Reply)
Hi everyone. I would like to hook a system function (gettimeofday) to modify it. I guess I'll need kernel mode to do that. By the way, how could I do it (c++ or c)?
I want to modify that function for one process which I know the PID. So I need to return my own value for that PID and real value... (29 Replies)
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Hi all i have queastion. Can anybody pease help me
what is user mode and kernel mode and the term "De-mountable volumes" means?
Thanks
Palash (2 Replies)
Hi all,
I am trying to setup a program to use a device driver and am confusing buffer access between User and Kernel mode. I think all applications running in User space have to communicate with the device drivers using io control calls and then have some functions called back from the driver... (1 Reply)
hi,
I am trying to install sco openserver 5.0.4 on an old system. However, l was not able to proceed after putting the bootstr
l have this panic message of
PANIC: K_trap - kernel mode trap tupe 0x00000006
will someone kindly help to decode this error
kayode (1 Reply)
GLDRAWBUFFER(3G)GLDRAWBUFFER(3G)NAME
glDrawBuffer - specify which color buffers are to be drawn into
C SPECIFICATION
void glDrawBuffer( GLenum mode )
PARAMETERS
mode Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT,
GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and
``GL_AUX_BUFFERS'' -1, are accepted (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.)
The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts.
DESCRIPTION
When colors are written to the frame buffer, they are written into the color buffers specified by glDrawBuffer. The specifications are as
follows:
GL_NONE No color buffers are written.
GL_FRONT_LEFT Only the front left color buffer is written.
GL_FRONT_RIGHT Only the front right color buffer is written.
GL_BACK_LEFT Only the back left color buffer is written.
GL_BACK_RIGHT Only the back right color buffer is written.
GL_FRONT Only the front left and front right color buffers are written. If there is no front right color buffer, only the
front left color buffer is written.
GL_BACK Only the back left and back right color buffers are written. If there is no back right color buffer, only the
back left color buffer is written.
GL_LEFT Only the front left and back left color buffers are written. If there is no back left color buffer, only the
front left color buffer is written.
GL_RIGHT Only the front right and back right color buffers are written. If there is no back right color buffer, only the
front right color buffer is written.
GL_FRONT_AND_BACK All the front and back color buffers (front left, front right, back left, back right) are written. If there are
no back color buffers, only the front left and front right color buffers are written. If there are no right color
buffers, only the front left and back left color buffers are written. If there are no right or back color buf-
fers, only the front left color buffer is written.
GL_AUXi Only auxiliary color buffer i is written.
If more than one color buffer is selected for drawing, then blending or logical operations are computed and applied independently for each
color buffer and can produce different results in each buffer.
Monoscopic contexts include only left buffers, and stereoscopic contexts include both left and right buffers. Likewise, single-buffered
contexts include only front buffers, and double-buffered contexts include both front and back buffers. The context is selected at GL ini-
tialization.
NOTES
It is always the case that GL_AUXi = GL_AUX0 + i.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if none of the buffers indicated by mode exists.
GL_INVALID_OPERATION is generated if glDrawBuffer is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_DRAW_BUFFER
glGet with argument GL_AUX_BUFFERS
SEE ALSO glBlendFunc(3G), glColorMask(3G), glIndexMask(3G), glLogicOp(3G), glReadBuffer(3G)GLDRAWBUFFER(3G)