00:01
hwpplayer1 has joined #osdev
00:04
Arthuria has quit [Ping timeout: 246 seconds]
00:14
heat has quit [Read error: Connection reset by peer]
00:14
heat has joined #osdev
00:16
simpl_e has quit [Ping timeout: 248 seconds]
00:32
theruran has joined #osdev
00:37
Yoofie64644 has quit [Ping timeout: 244 seconds]
00:37
Yoofie64644 has joined #osdev
00:40
Arthuria has joined #osdev
00:45
Yoofie64644 has quit [Ping timeout: 244 seconds]
00:49
Dead_Bush_Sanpa1 has joined #osdev
00:52
Dead_Bush_Sanpai has quit [Ping timeout: 244 seconds]
00:52
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
00:54
Garb00 has joined #osdev
00:57
Dead_Bush_Sanpa1 has joined #osdev
00:57
Garb00 is now known as Garb0
01:01
Dead_Bush_Sanpai has quit [Ping timeout: 276 seconds]
01:01
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
01:35
vdamewood has joined #osdev
01:38
heat has quit [Read error: Connection reset by peer]
01:38
heat has joined #osdev
01:40
Arthuria has quit [Ping timeout: 252 seconds]
01:40
bliminse has quit [Ping timeout: 244 seconds]
01:42
bliminse has joined #osdev
01:51
heat has quit [Read error: Connection reset by peer]
01:51
heat has joined #osdev
01:57
vdamewood has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
01:57
Arthuria has joined #osdev
02:00
heat has quit [Ping timeout: 264 seconds]
02:01
heat has joined #osdev
02:01
pog has quit [Quit: byee]
02:26
agent314 has joined #osdev
02:29
Nixkernal has quit [Ping timeout: 276 seconds]
03:16
qubasa has joined #osdev
03:19
dude12312414 has joined #osdev
03:20
dude12312414 has quit [Remote host closed the connection]
03:44
jedesa has joined #osdev
03:48
heat has quit [Ping timeout: 264 seconds]
04:01
hwpplayer1 has quit [Remote host closed the connection]
04:10
hwpplayer1 has joined #osdev
04:16
Arthuria has quit [Ping timeout: 264 seconds]
04:17
hwpplayer1 has quit [Remote host closed the connection]
04:22
hwpplayer1 has joined #osdev
04:50
Stary has joined #osdev
04:53
CompanionCube has joined #osdev
05:13
Garb0 has quit [Read error: Connection reset by peer]
05:14
hwpplayer1 has quit [Remote host closed the connection]
05:29
<
zid >
Advent of code done, `50*`
05:44
netbsduser has joined #osdev
06:01
<
the_oz_ >
AHHH MIDNIGHT MUST LET LOOSE FIREWORKS. KILL SANTA IF YA SEES EM. People are silly :)
06:04
<
klys >
there is one more hour for me here.
06:25
netbsduser has quit [Ping timeout: 252 seconds]
06:37
cloudowind has quit [Ping timeout: 265 seconds]
06:44
cloudowind has joined #osdev
06:46
cloudowind has quit [Remote host closed the connection]
06:48
cloudowind has joined #osdev
07:02
agent314 has quit [Ping timeout: 265 seconds]
07:03
agent314 has joined #osdev
07:12
housemate has joined #osdev
07:21
alpha2023 has quit [Read error: Connection reset by peer]
07:22
GeDaMo has joined #osdev
07:23
alpha2023 has joined #osdev
08:11
qubuepe24 has joined #osdev
08:15
housemate has quit [Read error: Connection reset by peer]
08:15
housemate has joined #osdev
08:21
housemate has quit [Ping timeout: 252 seconds]
08:21
agent314 has quit [Ping timeout: 252 seconds]
08:21
housemate_ has joined #osdev
08:25
agent314 has joined #osdev
08:30
agent314 has quit [Ping timeout: 272 seconds]
08:34
housemate_ has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously.]
08:39
qubuepe24 has quit [Remote host closed the connection]
08:39
qubuepe24 has joined #osdev
08:48
housemate has joined #osdev
08:57
qubuepe24 has quit [Remote host closed the connection]
09:38
hwpplayer1 has joined #osdev
09:56
ionut_f has joined #osdev
09:57
Yoofie646446 has joined #osdev
10:28
antranigv has joined #osdev
10:43
ionut_f has quit [Remote host closed the connection]
10:46
bauen1 has quit [Ping timeout: 272 seconds]
10:47
hwpplayer1 has quit [Remote host closed the connection]
10:54
chiselfuse has quit [Remote host closed the connection]
10:54
chiselfuse has joined #osdev
10:55
hwpplayer1 has joined #osdev
10:58
housemate has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously.]
10:58
hwpplayer1 has quit [Read error: Connection reset by peer]
11:47
muffin has joined #osdev
11:48
<
muffin >
Can I change the address of PML4 in CR3 while paging is enabled or do I need to turn it off first?
11:49
Left_Turn has joined #osdev
11:55
<
sortie >
You can change the address space by modifying CR3 any time. The change is atomic. Make sure the next instruction being executed is mapped in memory
11:55
<
muffin >
thank you sortie
11:56
<
zid >
yea that's just how you switch address spaces
11:56
<
zid >
if you had to disable and renable paging that'd be a huge pain wow
11:56
<
sortie >
It also has a big performance penalty
11:56
<
sortie >
And can't be done in 64-bit mode
11:56
<
zid >
yea, HJUGE pain
11:57
Turn_Left has joined #osdev
11:57
<
muffin >
wait, it can't be done in 64-bit mode?
11:58
<
sortie >
64-bit requires paging to be turned on IIRC
11:59
<
zid >
it's AN REQUIREMENT
11:59
<
sortie >
So to disable paging, one would have to leave 64-bit mode IIRC. You can always change the address space with CR3 of course.
11:59
<
zid >
There's a neat flowchart in the manual
11:59
<
zid >
about LM.EFER and CR0.PG etc ordering
11:59
<
muffin >
ah, okay, I misunderstood
11:59
<
zid >
it's a directed cyclic graph thing
11:59
<
muffin >
Thought you were saying I can't change CR3 in 64-bit mode
12:00
<
muffin >
But yeah, to disable paging you have to go all the way to real mode
12:00
<
zid >
You can do it in pmode
12:00
<
sortie >
No you should be able to disable it in 32-bit mode
12:00
<
zid >
pmode is the mode where you enable paging, afterall
12:01
<
muffin >
ah, I see. Thanks for clearing that up
12:01
Left_Turn has quit [Ping timeout: 264 seconds]
12:01
<
zid >
real -> pmode, enable PAE, write 0x8 to c0000080 for efer.lm, enable paging, load gdt, jump to long mode
12:02
<
zid >
is the order the manual tells you to do it in
12:02
* zid
wants to find the cool diagram
12:03
<
muffin >
The Paging one is Figure 5-1 in Vol.3A
12:03
<
bslsk05 >
i.imgur.com <no title>
12:03
<
muffin >
after 5.1.2
12:03
<
muffin >
ah, you already have it
12:04
<
zid >
according to this, you can?
12:04
<
zid >
go from 4 level paging to pg=0, pae=1, lme=1 via unsetting PG
12:05
<
zid >
and you have to, to get out
12:05
<
zid >
oh, compat mode
12:05
<
zid >
long mode
*does* fault, there's a single note
12:06
<
zid >
to do it from compat mode
12:06
<
muffin >
Yes, I can do that, I was just thinking of 64-bit mode or protected mode not allowing you to that then
12:06
<
zid >
I got nerd sniped
12:06
<
zid >
by wondering if you could disable PG
12:07
<
muffin >
There's a similar diagram on Vol.3A 2.2 Fig 2-3
12:07
<
muffin >
Where it shows the modes and that it's not a requirement for Protected mode, but only for IA-32e Mode
12:08
<
muffin >
yep, it's all clear now, thank you
12:09
craigo has joined #osdev
12:09
<
muffin >
all except why I'm getting a fault, but I must have made a mistake setting up the paging structures
12:10
<
zid >
PG just means yea, RIP is no longer valid
12:10
<
zid >
GP means you weren't allowed to enable paging
12:10
<
muffin >
Paging is already enabled
12:10
<
zid >
I assume PG then, and yea, bad tables
12:11
<
muffin >
Yep, that must be it. Now on to finding the mistake
12:11
<
muffin >
Thanks for helping
12:11
<
zid >
Time to do some recursive giant hex dumping
12:17
muffin has quit [Quit: leaving]
12:27
d5k has quit [Quit: leaving]
12:48
getz has quit [Ping timeout: 276 seconds]
12:50
bauen1 has joined #osdev
12:57
getz has joined #osdev
13:08
heat has joined #osdev
13:20
pog has joined #osdev
13:52
Nixkernal has joined #osdev
15:25
heat has quit [Read error: Connection reset by peer]
15:26
heat_ has joined #osdev
15:33
jedesa has quit [Ping timeout: 265 seconds]
15:43
heat_ has quit [Ping timeout: 260 seconds]
15:44
heat has joined #osdev
15:54
_ngn has quit [Quit: disconnected]
16:35
Left_Turn has joined #osdev
16:37
Turn_Left has quit [Ping timeout: 265 seconds]
16:42
vdamewood has joined #osdev
16:42
npc has joined #osdev
16:43
Turn_Left has joined #osdev
16:45
hwpplayer1 has joined #osdev
16:46
Left_Turn has quit [Ping timeout: 265 seconds]
16:55
heat has quit [Read error: Connection reset by peer]
16:55
heat has joined #osdev
17:02
heat has quit [Read error: Connection reset by peer]
17:03
heat has joined #osdev
17:33
heat has quit [Ping timeout: 264 seconds]
17:34
heat has joined #osdev
17:42
Arthuria has joined #osdev
17:51
goliath has joined #osdev
17:53
heat has quit [Read error: Connection reset by peer]
17:53
heat has joined #osdev
18:00
xenos1984 has quit [Ping timeout: 246 seconds]
18:01
xenos1984 has joined #osdev
18:10
xenos1984 has quit [Ping timeout: 246 seconds]
18:25
xenos1984 has joined #osdev
18:42
heat has quit [Ping timeout: 246 seconds]
18:42
qubuepe24 has joined #osdev
18:43
heat has joined #osdev
18:43
qubuepe24 has quit [Remote host closed the connection]
18:47
craigo has quit [Ping timeout: 252 seconds]
19:08
Turn_Left has quit [Remote host closed the connection]
19:09
Turn_Left has joined #osdev
19:29
bliminse has quit [Quit: leaving]
19:30
netbsduser has joined #osdev
19:36
goliath has quit [Quit: SIGSEGV]
19:37
hwpplayer1 has quit [Read error: Connection reset by peer]
19:46
Arthuria has quit [Ping timeout: 264 seconds]
19:54
bliminse has joined #osdev
20:05
Arthuria has joined #osdev
20:06
pg12 has quit [Remote host closed the connection]
20:07
pg12 has joined #osdev
20:21
npc has quit [Remote host closed the connection]
20:33
Arthuria has quit [Remote host closed the connection]
20:42
Left_Turn has joined #osdev
20:45
Turn_Left has quit [Ping timeout: 252 seconds]
21:02
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
21:05
heat_ has joined #osdev
21:05
heat has quit [Read error: Connection reset by peer]
21:06
Nixkernal has joined #osdev
21:30
netbsduser has quit [Ping timeout: 260 seconds]
21:31
steelswords9436 has joined #osdev
22:11
cloudowind has quit [Ping timeout: 252 seconds]
22:12
cloudowind has joined #osdev
22:22
getz has quit [Remote host closed the connection]
22:25
getz has joined #osdev
22:38
spare has joined #osdev
22:44
vinleod has joined #osdev
22:44
vdamewood has quit [Read error: Connection reset by peer]
22:55
vinleod is now known as vdamewood
22:57
getz has quit [Remote host closed the connection]
23:00
getz has joined #osdev
23:35
ionut_f has joined #osdev
23:39
ionut_f has quit [Remote host closed the connection]
23:40
cloudowind has quit [Remote host closed the connection]
23:40
spare has quit [Remote host closed the connection]
23:41
cloudowind has joined #osdev
23:52
Left_Turn has quit [Read error: Connection reset by peer]
23:52
ionut_f has joined #osdev