diff options
author | kaashoek <kaashoek> | 2006-09-03 15:39:29 +0000 |
---|---|---|
committer | kaashoek <kaashoek> | 2006-09-03 15:39:29 +0000 |
commit | 7abf49d2f22af633f2fb3546f9f9fd818cef25df (patch) | |
tree | e2c8e235d2d00240a9910e26ee527ae3dee6de0f /bootother.S | |
parent | 801affcd147606873b10db04c9fbf80dede969f6 (diff) | |
download | xv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.tar.gz xv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.tar.bz2 xv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.zip |
remove duplication
don't use the same name for two different pieces of code
Diffstat (limited to 'bootother.S')
-rw-r--r-- | bootother.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootother.S b/bootother.S index 2bdfdb2..99e4713 100644 --- a/bootother.S +++ b/bootother.S @@ -70,9 +70,9 @@ protcseg: .p2align 2 # force 4 byte alignment gdt: - SEG_NULL # null seg - SEG(STA_X|STA_R, 0x0, 0xffffffff) # code seg - SEG(STA_W, 0x0, 0xffffffff) # data seg + SEG_NULLASM # null seg + SEG_ASM(STA_X|STA_R, 0x0, 0xffffffff) # code seg + SEG_ASM(STA_W, 0x0, 0xffffffff) # data seg gdtdesc: .word 0x17 # sizeof(gdt) - 1 |