3

I have the task to program one module to store some data and another module to control the first one, been able to load/unload it from the code.

I'm and kernel programming ignorant but i've tried hard to find the way to do this. Is there any function to do this?

Thank you very much in advance

2 Answers 2

4

Use request_module to load a module

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you very much, I'll try to make it work. Is there some equivalent to unload?
1

You usually wouldn't make one module load another, instead using the kernel's dependency system to load your prerequisites on demand. otherwise use request_module as suggested by Matias Valdenegro.

2 Comments

I know, this is just a kernel programming assignment I have to do. Thank you anyway!
Oh, i found it! release_module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.