Vinay Chandra

Results 24 comments of Vinay Chandra

The commit looks fine but some of the students might be using an older version of moodle. Try and add support for both.

Yes, for creating other processes. The limits in sense, for offset page table, the offset and max address may be for example.

Calling `OffsetPageTable::new` doesn't update the page table passed to it. So, we need to update the page table as well (Please correct me if i am wrong).

Creating entries in the page table. Does calling new automatically create the entries? AFAIK it doesn't.

That is correct. It could also be done so that we pass in the offset instead of it auto deciding an offset but that's optional.

@phil-opp , couple of questions - How much of the actual physical memory is mapped when using offset mode? It is exactly 100% or more? (For example, what happens if...

I will try do that. My main idea is to make a near copy of the current stage 1 and stage 2 without much of stage 3 so that we...

@64 the way I understand it, we don't need to setup new page tables, etc. We can leave other processors potentially in the same place as the bootstrap processor. The...

Agreed, that's where i said we can use the same assumptions as the bootstrap processor. We can load with the same CR3 but point EIP to the new entry point...

I agree. The crate provides entry point for 16 bit bootstrapping, not just boot loader logic which i wanted to reuse for SMP rather than creating another setup which does...