Re: Invalid Opcode on ia32, Pistachio 0.4

Alexander Wieder <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Alexander Wieder wrote:
> Does this make sense? Wouldn't it make more sense to skip the
> enter_kdebug() in L.238 (comment out) to sent the exception-IPC if the
> exception was not caused by the KIP-syscall?
Or even better:
1. remove enter_kdebug() from L.238
2. enter_kdebug() if the exception was _not_ caused in the user area:

221     if (space->is_user_area(addr))
222     {
		[...]
240     }
241 	else
242	  enter_kdebug("invalid opcode");

3. remaining code is left unchanged

By this, an exception-IPC would be sent iff the faulting opcode a) is
not the sequence "lock; nop;" and b) it was executed in the user area.
Invalid opcodes outside the user area would cause enter_kdebug() to be
executed.
Would make more sense to me...


Best regards,

Alexander Wieder
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.