I've searched this new group with the keyword: "kernel library array
list".
I am looking for an open source C++ class library for kernel mode
programming, because the C++ standard library and STL cannot be used in
the kernel mode. The library should provide some fundamental data
structures and algorithms like dynamic size array, list, string,
hash/map, tree, graph, sort, etc. It has to be licensed in LGPL style.
The most important of all, this library cannot use any C++ RTL and STL
functions. 4 3621 tz***********@gmail.com wrote: I've searched this new group with the keyword: "kernel library array list".
I am betting you haven't found much, have you?
Have you heard of "Google"? I mean, the _web_search_.
I am looking for an open source C++ class library for kernel mode
Which kernel do you mean?
programming, because the C++ standard library and STL cannot be used in the kernel mode.
It cannot? Well, I suppose that's right. The C++ Standard mentions
nothing about "kernel mode".
The library should provide some fundamental data structures and algorithms like dynamic size array, list, string, hash/map, tree, graph, sort, etc. It has to be licensed in LGPL style.
The most important of all, this library cannot use any C++ RTL and STL functions.
If it can't use RTL, how in hell would it provide dynamic size array
without 'malloc'? Oh, wait, it must be allowed to use OS-specific
means to allocate memory, right? Shouldn't you then be asking about
it in the _OS-specific_ newsgroup?
Yes, I tried to google for it. Some are commerical. Some seem not
matintained anymore or I cannot tell the number of users (assume it's
proportion to the stability). For example: http://cxx.uclibc.org/index.html
C++ RTL and STL cannot be used in the kernel mode. Please refer to http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx. I am looking
for replacements for them.
The library should not be specific to any kernel mode. I am looking for
a cross platform library.
"If it can't use RTL, how in hell would it provide dynamic size array
without 'malloc'? Oh, wait, it must be allowed to use OS-specific
means to allocate memory, right?"
- Yes, if it uses the new operator, we can override it with some
OS-specific memory allocation functions.
It's something similar to the Embedded C++ library or Embedded STL. Is
there any open source LGPL implementation?
You sould specifies what kind of kernel.Linux ,vxworks,or windows?
<tz***********@gmail.com> ????
news:11**********************@g44g2000cwa.googlegr oups.com... Yes, I tried to google for it. Some are commerical. Some seem not matintained anymore or I cannot tell the number of users (assume it's proportion to the stability). For example: http://cxx.uclibc.org/index.html
C++ RTL and STL cannot be used in the kernel mode. Please refer to http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx. I am looking for replacements for them.
The library should not be specific to any kernel mode. I am looking for a cross platform library.
"If it can't use RTL, how in hell would it provide dynamic size array without 'malloc'? Oh, wait, it must be allowed to use OS-specific means to allocate memory, right?" - Yes, if it uses the new operator, we can override it with some OS-specific memory allocation functions.
It's something similar to the Embedded C++ library or Embedded STL. Is there any open source LGPL implementation? tz***********@gmail.com wrote: Yes, I tried to google for it. Some are commerical. Some seem not matintained anymore or I cannot tell the number of users (assume it's proportion to the stability). For example: http://cxx.uclibc.org/index.html
C++ RTL and STL cannot be used in the kernel mode. Please refer to http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx. I am looking for replacements for them.
The library should not be specific to any kernel mode. I am looking for a cross platform library.
Do what I did, write the bits you need when you need them.
You'll be hard pushed to find such a library, for a start every compiler
has its own way of doing its run time, which is unlikely to be documented.
It's surprising how much you can do with just your own new and delete.
Ian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Romeo Colacitti |
last post by:
Is the C library of most OSes (i.e, unix type OSes) implemented at the
very low kernel or just outside kernel level?
Looking through the source tree of Linux/BSDs it seems like the C
library is...
|
by: rahul8143 |
last post by:
hello,
what is difference between system call and library function
call? Does library function call can have context switch to kernel
mode?
regards,
rahul
|
by: h.silent57 |
last post by:
hi.. I m new to kernel programming..for my in-house project, I chose
to create a device driver for mouse for which I am required to
understand Kernel module programming..I tried to execute this...
|
by: Arun |
last post by:
Hello Experts,
I have an asm routine which uses privileged instructions like in, out,
cli, etc., I need to execute this as a Win32 application under VC++.
Since the instructions are privileged,...
|
by: mastermagrath |
last post by:
Hi,
Sorry for the possibly silly question.
Am i right in saying that the C library i use on a windows machine
really utilises the windows API for all its operations e.g. opening
files, printing...
|
by: rani.yaroshinski |
last post by:
Hi all,
The Stacktrace class (system.diagnostic) in CLR 2.0 (Framework 2.0),
still offers a constructor to allow showing the stack-trace of another
thread. However, the usage involves suspending...
|
by: omkar pangarkar |
last post by:
Hi all,
I have two simple hello world programs one using printf() and other using write()
--prog 1--
#include<stdio.h>
#include<stdlib.h>
int main() {
printf("Hello"); /* up to here...
|
by: sophia.agnes |
last post by:
Dear all,
I was going through peter van der linden's book expert C programming
there i found the following:-
Library call
------------
*call to a routine in a library
*linked with user...
|
by: Jimmy |
last post by:
Hi to all
python now has grown to a versatile language that can
accomplish tasks for many different purposes. However,
AFAIK, little is known about its ability of kernel coding.
So I am...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |