Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Hello everyone:
I've been confisued by a MMU question 4 a long time.
First of all,let us see 2 points below:
1,cpu fatch the instuction by itself if no branch instuction called like "jump" and "b".The PC counter will be added automatically.
2,if the code tell the cpu to jump to a certain address by branch instruction, the pc-counter will be loaded by the address.

Suppose if the MMU Table was created to map the address from C0000000 to 50000000 as:
0xC0000000,0xC8000000 -> 0x50000000,0x58000000
If MMU enabled,after line 3 instuction,what would be loaded in the pc-counter?Shall we need to translate the address?
A,If the content of pc-counter was 0x30008000,and after line 3 4 code (Enable MMU),the pc-counter would be updateed by 0x50008004 or 0x30008004?For the reason there was no branch instruction called at line 4,so the pc-counter would be updated by cpu itself automatically.
B,If the __mmap_switched was arranged by the linker as a Cxxx xxxx,line 7 mov a address would be translated to a Virt Address?