Skip to content

WIP: Translate Bootstrap/linux-bootstrap-2#4

Open
mauri870 wants to merge 1 commit intotranslation-ptbrfrom
translation-booting-2
Open

WIP: Translate Bootstrap/linux-bootstrap-2#4
mauri870 wants to merge 1 commit intotranslation-ptbrfrom
translation-booting-2

Conversation

@mauri870
Copy link
Owner

@mauri870 mauri870 commented Jan 6, 2018

No description provided.

@mauri870 mauri870 changed the title Translate Bootstrap/linux-bootstrap-2 WIP: Translate Bootstrap/linux-bootstrap-2 Jan 6, 2018
@mauri870 mauri870 force-pushed the translation-booting-2 branch 2 times, most recently from 1eb8fd0 to 3d477f8 Compare January 7, 2018 02:02
Vamos ver primeiro sobre segmentação, paginação será abordada na seção seguinte.

As you can read in the previous part, addresses consist of two parts in real mode:
Como você pode ler na parte anterior, endereços são compostos por dois componentes no modo real:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo pôde

* if G is 0, Limit is interpreted in terms of 1 Byte and the maximum size of the segment can be 1 Megabyte.
* if G is 1, Limit is interpreted in terms of 4096 Bytes = 4 KBytes = 1 Page and the maximum size of the segment can be 4 Gigabytes. Actually, when G is 1, the value of Limit is shifted to the left by 12 bits. So, 20 bits + 12 bits = 32 bits and 2<sup>32</sup> = 4 Gigabytes.
Resumidamente:
* se G for 0, Limit é interpretado como 1 Byte e o tamanho máximo do segmento é 1 Megabyte.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think interpretado com escala de sounds more correctly.

* A flag `S` no bit 44 especifica o tipo de descritor. Se `S` for 0 então esse segmento é um segmento de sistema, caso contrário se `S` for 1 então este é um segmento de código ou dados (segmentos de Stack são segmentos de dados que precisam de acesso leitura/escrita).

To determine if the segment is a code or data segment we can check its Ex(bit 43) Attribute marked as 0 in the above diagram. If it is 0, then the segment is a Data segment otherwise it is a code segment.
Para determinar se o segmento é de código ou dados nós podemos checar o atributo (bit 43) marcado como 0 o diagrama acima. Se ele for igual a 0, então o segmento é de dados caso contrário ele é um segmento de código.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo no diagrama acima

@mauri870 mauri870 force-pushed the translation-booting-2 branch from 3d477f8 to 8fa9706 Compare January 7, 2018 20:15
@mauri870 mauri870 force-pushed the translation-booting-2 branch from 8fa9706 to cf5c21c Compare January 8, 2018 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant