Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > [BRUSCHI] 13/04/07 primo compitino
Pages (8): « 1 2 3 4 [5] 6 7 8 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

che spasso l'ultima videolezione quando perde una decina di minuti a far ripartire windows ^^

11-04-2007 19:25
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Xander
.amico.

User info:
Registered: Feb 2006
Posts: 22 (0.00 al dì)
Location:
Corso: informatica
Anno: 2
Time Online: 8:04:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by dani-dani
Ciao ragazzi..volevo chiedervi come faccio ad accedere alle videolezioni..cioè..che username e password serve..??
grazie mille..


...ricordarsela la psw :sad:
anzi sono anche quasi sicuro che sia giusta ma nn va..me l'avranno hackata..
è case sensitive?
ciao

11-04-2007 20:34
Click Here to See the Profile for Xander Click here to Send Xander a Private Message Find more posts by Xander Add Xander to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno mi sa dire :

1- nelle istruzioni tipo sseg mov (old_cs), eax viene copiato eax nella locazione di memoria puntata da old_cs nello stack segment ?

2- nella save:
mov dx, ss
mov ds, dx
mov es, dx
Qui cosa fa, cambia il segmento dati corrente con quello dello stack di kernel giusto? perchè?

3- jmp RETADR-P_STACKBASE(eax) il prof ha detto che con questa jump arrivo all'istruzione successiva a quella che ha chiamato la save... in che modo? RETADR E P_STACKBASE che valori hanno?

^^ grazie a chiunque riesca a rispondermi

12-04-2007 13:06
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

RETADR-P_STACKBASE(eax) per questa devi vedere cosa vale RETADR-P_STACKBASE perche viene sommato a eax e poi fa la jump

12-04-2007 13:10
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si infatti stackbase dovrebbe puntare a qualcosa tipo la base dello stack... a cui aggiunge poi eax (che contiene il vecchio esp). a occhio mi sembra che si vada a prendere l'indirizzo che la "call save" ha memorizzato nello stack, prima di tutte le varie push, ma nn mi spiego bene come

12-04-2007 13:13
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

reg_t retadr; /* return address for assembly code save() */
vai a cercare nel codice di minix retadr ti usciaranno fuori delle cose tipo la riga che ti ho messo.

ascolta ti vedo ferrato sul discorso, percui ti faccio delle domande.

Come avviene la chiamata eccezzione?
Ad esemip dopo avere incrementato il pc=pc+1 si controlla se il bit del segnale di int è attivo, in questo caso si deve trattare l'eccezzione, siamo a livello HardWare.
Ma a questo punto cosa succede? Non ho capito come si passa alla gestione dell'eccezione con le routine.
Poi altra cosa per il trattamento dell'eccesione vengono creati due stack? ma chi li crea e come?

Ciao

12-04-2007 13:17
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a quanto ho capito io, in exception.c ( _exception in assembler) viene presa la decisione se avviare un nuovo processo, continuare quello vecchio o interrompersi, quindi penso comprenda anche la risposta all'eccezione.
Non ne sono sicuro, ma dovrebbe quindi essere quando fa la chiamata call _exception la gestione della routine

Gli stack in tutto sono 3: quello della procedura che chiama, quello nuovo creato da cpu (hardware) e un altro creato dal kernel

Last edited by Kurt84 on 12-04-2007 at 13:26

12-04-2007 13:24
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma come fa ad arrivare li

12-04-2007 13:26
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

viene creato via hardware l'indirizzo della routine di risposta all'eccezione : nella IDT (interrupt descriptor table) è associato, per ogni eccezione, l'indirizzo della routine di risposta ( segmento + offset).

Ogni interrupt o eccezione è associato a un numero: hai 8 bit a disposizione ( quindi 2^8 = 256 eccezioni interrupt diversi) e questo numero è un indice nella tabella degli interrupt.

Last edited by Kurt84 on 12-04-2007 at 13:39

12-04-2007 13:34
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

OK CHiaro.
Ma prima di arrivare li, sono già stati salvati sullo stack diversi registri. E' corretto? Se è cosi chi è che li ha salvati?

Ciao

E grazie di tutto

12-04-2007 13:37
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

la cpu salva i registri in automatico nello stack, dopo ne aggiunge altri il sistema operativo con la save

12-04-2007 13:41
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ora è più chiaro.
Quindi la cpu, quindi l'hardware si salva dei registri e poi chiama la routine di gestione dell'eccezione che richiama la save.
Ma la cpu li salva via hw?

12-04-2007 13:50
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si è automatico, non glielo dici tu in nessuna istruzione lo fa lei di suo

12-04-2007 13:52
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie per la conferma.
Non ricordo proprio che il prof ne abbia parlato in dettaglio questa parte di salvataggio, ricordo solo che viene fatto e si ha il passaggio da user-mode a kernel mode.
Quindi
Stack processo in corso user-mode--->CPU---> salva in stack e passa in kernel MODE
Viene chiamata la save e vengono fatti altri aggiornamenti sullo stack sempre in kernel-mode.
Quindi in fine ho solo due stack o tre se considero:
1 stack quello fatto dalla CPU
2 stack quello fatto dalla procedura di save
3 stack quello necessario alla chiamato di trattamento dell'eccezione

ciao

E' utile ripassare in questo modo, almeno per me mi chiarisco diverse cose.

12-04-2007 13:59
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Paul03
.arcimaestro.

User info:
Registered: Feb 2005
Posts: 290 (0.04 al dì)
Location: Oleggio
Corso: Informatica
Anno: 3
Time Online: 1 Day, 19:39:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scaricati la videolezione che lo spiega molto bene saltando la parte iniziale della fase di boot.

12-04-2007 14:45
Click Here to See the Profile for Paul03 Click here to Send Paul03 a Private Message Find more posts by Paul03 Add Paul03 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:26.    Post New Thread    Post A Reply
Pages (8): « 1 2 3 4 [5] 6 7 8 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.045 seconds (77.04% PHP - 22.96% MySQL) con 26 query.