double type format specifier is %Ld that means long double..
check here;
http://www.cplusplus.com/reference/clib ... dio/scanf/
Search found 3 matches
- Fri Feb 25, 2011 11:58 am
- Forum: Beginning OS Development
- Topic: How to read input from user into a double-type variable
- Replies: 3
- Views: 19965
- Sun Feb 20, 2011 7:27 am
- Forum: Beginners
- Topic: confusion on multiple initialization of GDT
- Replies: 3
- Views: 52185
Re: confusion on multiple initialization of GDT
so its like the GDT entries depends on our os design, if we want our os to have different levels of protection.,, like if we are giving ring3 to user ring2 to shared libs and ring1 to drivers and ring 0 to kernel then we can have entries like; 0x0 null entry; 0x08 ring0 kernel code entry 0x10 ring0 ...
- Fri Feb 18, 2011 5:15 am
- Forum: Beginners
- Topic: confusion on multiple initialization of GDT
- Replies: 3
- Views: 52185
confusion on multiple initialization of GDT
Hello there, I have been following the tutorial on os development from this website and i have reached the descriptor tables and to my extent i have tried to understand it. My question is since we already have set up the GDT (5) entries on the assembly fime called gdt.inc, why are we again initializ...