Anthony N Malczanek | 8 Jun 2010 01:13
Picon

RE: Bootloader in Cosmos

 

Dear Ben,

I can't think of any good reason why you can't segment the memory accordingly and write a COW handler for memory based on GPF traps without bothering with enabling the MMU and what not. But that's entirely besides the point since our OP was asking about a file on permanent storage, so COW in this case would be abstracted by much software.

Sincererly,

Anthony N Malczanek

__._,_.___
Recent Activity:
--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------

.

__,_._,___
Ben Kloosterman | 8 Jun 2010 06:51
Picon

RE: Bootloader in Cosmos

 

X86_64 does not allow segments… only 0 – 2^64.

 

It is quite possible on 32 bit and I lament the drop in x86_64 it is very useful not just for this but also setting code segment limits / code segs read only.

 

Hence COW should be avoided on x86_64.

 

Ben

 

From: Cosmos-Dev <at> yahoogroups.com [mailto:Cosmos-Dev <at> yahoogroups.com] On Behalf Of Anthony N Malczanek
Sent: Tuesday, June 08, 2010 7:13 AM
To: Cosmos-Dev <at> yahoogroups.com
Subject: RE: [Cosmos-Dev] Bootloader in Cosmos

 

 

Dear Ben,

I can't think of any good reason why you can't segment the memory accordingly and write a COW handler for memory based on GPF traps without bothering with enabling the MMU and what not. But that's entirely besides the point since our OP was asking about a file on permanent storage, so COW in this case would be abstracted by much software.

Sincererly,

Anthony N Malczanek

__._,_.___
Recent Activity:
--------------------------------------------------
More things to join for Cosmos!

1) Cosmos chat room:
http://tinyurl.com/pc7bds

2) Please add yourself to the map:
http://tinyurl.com/qhttde

3) Help publicity and join our Facebook page:
http://tinyurl.com/plrloa

--------------------------------------------------

.

__,_._,___

Gmane