User mode and Kernel mode

This is a discussion on User mode and Kernel mode within the C++ Programming forums, part of the General Programming Boards category; What does this mean -: I had to make a few changes to a C++ header file that runs in ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    8

    User mode and Kernel mode

    What does this mean -:

    I had to make a few changes to a C++ header file that runs in kernel mode. And after making the changes, I have to compile that header file in user mode. What does it mean?

  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    As I know kernel mode means the mode that is set by OS and in this mode executing code has the highest privilege. User mode is the CPU operating mode that normal apps run in it. OS switches to kernel mode when it wants to execute a high privileged instruction.
    That header files seems to have some high privileged code.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    8
    yaa right ..sooo ??

    how am i to compile it in usermode? shud i write some makefile to do so?

  4. #4
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    Compile it like other codes.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    8
    i need to compile it in "usermode" and its a .h file ....theres some diff ... i donno tht

  6. #6
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    As I know .h file is C/C++ header file, nothing else.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  7. #7
    Registered User
    Join Date
    Aug 2006
    Posts
    8
    Not this difference ...rather

    I need to write some user mode program so as to compile this file. What does this imply? one makefile?

  8. #8
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    I think it is Linux, go to its board.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. User mode and Kernel Mode
    By learner01 in forum Linux Programming
    Replies: 9
    Last Post: 08-10-2006, 09:20 PM
  2. Programming RIP2 with kernel routes table
    By jpablo in forum Linux Programming
    Replies: 1
    Last Post: 04-22-2006, 12:26 PM
  3. Entering Kernel Mode
    By Lionel in forum Windows Programming
    Replies: 1
    Last Post: 07-05-2005, 08:58 PM
  4. Kernel mode
    By /Muad'Dib\ in forum C++ Programming
    Replies: 2
    Last Post: 06-02-2004, 09:36 AM
  5. kernel/user mode
    By rohit in forum Linux Programming
    Replies: 1
    Last Post: 07-03-2002, 11:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21