flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > syscall supported?

Author
Thread Post new topic Reply to topic
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 17 Jan 2014, 17:32
Does MenuetOS support syscall system call method? If not, any plans to add support for it? (in addition to int, not as replacement)
Post 17 Jan 2014, 17:32
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 767
tthsqe 18 Jan 2014, 09:39
LocoDelAsm, where have you been? It seems that you took a long break from fasm board. Sorry I can't answer your question though. I assume that you are talking about the 32 bit version..
Post 18 Jan 2014, 09:39
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 18 Jan 2014, 15:08
Welcome (back) Cool
I'm not interested in MenuetOS as I am in other projects, but I'd like to hear your point in using syscalls as opposed to interrupts? I myself don't consider any difference in them. What are your thoughts?
Cheers,
Sid123
Post 18 Jan 2014, 15:08
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 18 Jan 2014, 15:10
Syscall has less overhead than int.
Post 18 Jan 2014, 15:10
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 18 Jan 2014, 16:03
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 18:28; edited 1 time in total
Post 18 Jan 2014, 16:03
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 18 Jan 2014, 17:44
I've just been too busy...

I mean the 64-bit version, couldn't find examples not using int 0x60 nor documentation about how syscall should be used. I think it is important to support syscall since Mathlib functions would typically be called often. Perhaps a new interface which allows to map the functions to user space by adding read-only pages to the process? Some system call like "Get mathlib pointer table" which just gives the address of the read-only page holding the table (and each pointer of the table pointing to user space read-only addresses).
Post 18 Jan 2014, 17:44
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 308
Ville 29 Jan 2014, 08:57
If an application needs a faster call to function, then an included library would be most useful. When included in kernel with current system call (int 0x60) the mathlib is reliably available. However, I'll also take a look at including syscall and mapping function pages to applications.
Post 29 Jan 2014, 08:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.