File:  [MW Coherent from dump] / coherent / b / kernel / ldrv / cs_self.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:37 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

////////
/
/ Get cs selector - return 0 if in kernel, CS if not in kernel.
/
/ This version is for loadable drivers.
/ There is a different version (cs_sel.s) for resident drivers.
/
/ int	cs_sel();
/
////////

	.globl	cs_sel_
cs_sel_:
	mov	ax, cs
	ret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.