Permalink
Browse files

Merge branch 'master' of github.com:0xAX/linux-insides

  • Loading branch information...
0xAX committed Jun 8, 2017
2 parents af4d270 + 9838897 commit 4521637d9cb76e5d4e4dc951758b264a68504927
Showing with 1 addition and 1 deletion.
  1. +1 −1 Booting/linux-bootstrap-2.md
@@ -118,7 +118,7 @@ A segment can be of one of the following types:
| 15 1 1 1 1 | Code | Execute/Read, conforming, accessed
```
As we can see the first bit(bit 43) is `0` for a _data_ segment and `1` for a _code_ segment. The next three bits(40, 41, 42, 43) are either `EWA`(*E*xpansion *W*ritable *A*ccessible) or CRA(*C*onforming *R*eadable *A*ccessible).
As we can see the first bit(bit 43) is `0` for a _data_ segment and `1` for a _code_ segment. The next three bits (40, 41, 42) are either `EWA`(*E*xpansion *W*ritable *A*ccessible) or CRA(*C*onforming *R*eadable *A*ccessible).
* if E(bit 42) is 0, expand up other wise expand down. Read more [here](http://www.sudleyplace.com/dpmione/expanddown.html).
* if W(bit 41)(for Data Segments) is 1, write access is allowed otherwise not. Note that read access is always allowed on data segments.
* A(bit 40) - Whether the segment is accessed by processor or not.

0 comments on commit 4521637

Please sign in to comment.