diff options
author | Frans Kaashoek <[email protected]> | 2018-10-09 20:22:48 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2018-10-09 20:22:48 -0400 |
commit | a7ca32e3a3ec2d3c1947a06fbcde0f779b0b1fec (patch) | |
tree | 9f984054071e2724e5f1a96e0dd73a50c7b29db1 /defs.h | |
parent | 821ee3fc99b6363d7799d4f5cfa629e36b554dbf (diff) | |
download | xv6-labs-a7ca32e3a3ec2d3c1947a06fbcde0f779b0b1fec.tar.gz xv6-labs-a7ca32e3a3ec2d3c1947a06fbcde0f779b0b1fec.tar.bz2 xv6-labs-a7ca32e3a3ec2d3c1947a06fbcde0f779b0b1fec.zip |
Change mycpu() to use %gs.
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -110,6 +110,7 @@ int fork(void); int growproc(int); int kill(int); struct cpu* mycpu(void); +struct cpu* getmycpu(void); struct proc* myproc(); void pinit(void); void procdump(void); |