Changeset e6a78b9 in mainline for kernel/arch/ia32
- Timestamp:
- 2012-06-29T15:31:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9432f08
- Parents:
- 34ab31c0 (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/ia32
- Files:
-
- 2 edited
-
Makefile.inc (modified) (2 diffs)
-
src/userspace.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/Makefile.inc
r34ab31c0 re6a78b9 38 38 GCC_CFLAGS += $(CMN1) 39 39 ICC_CFLAGS += $(CMN1) 40 SUNCC_CFLAGS += $(CMN1)41 40 CLANG_CFLAGS += $(CMN1) 42 41 … … 50 49 ifeq ($(PROCESSOR),athlon_xp) 51 50 CMN2 = -march=athlon-xp 52 SUNCC_CFLAGS += -xarch=ssea53 51 endif 54 52 55 53 ifeq ($(PROCESSOR),athlon_mp) 56 54 CMN2 = -march=athlon-mp 57 SUNCC_CFLAGS += xarch=ssea58 55 endif 59 56 60 57 ifeq ($(PROCESSOR),pentium3) 61 58 CMN2 = -march=pentium3 62 SUNCC_CFLAGS += -xarch=sse63 59 endif 64 60 65 61 ifeq ($(PROCESSOR),pentium4) 66 62 CMN2 = -march=pentium4 67 SUNCC_CFLAGS += -xarch=sse268 63 endif 69 64 70 65 ifeq ($(PROCESSOR),core) 71 66 CMN2 = -march=prescott 72 SUNCC_CFLAGS += -xarch=sse373 67 endif 74 68 -
kernel/arch/ia32/src/userspace.c
r34ab31c0 re6a78b9 63 63 64 64 "pushl %[udata_des]\n" 65 "pushl %[stack_ size]\n"65 "pushl %[stack_top]\n" 66 66 "pushl %[ipl]\n" 67 67 "pushl %[utext_des]\n" … … 75 75 : 76 76 : [udata_des] "i" (GDT_SELECTOR(UDATA_DES) | PL_USER), 77 [stack_size] "r" ((uint8_t *) kernel_uarg->uspace_stack + STACK_SIZE), 77 [stack_top] "r" ((uint8_t *) kernel_uarg->uspace_stack + 78 kernel_uarg->uspace_stack_size), 78 79 [ipl] "r" (ipl), 79 80 [utext_des] "i" (GDT_SELECTOR(UTEXT_DES) | PL_USER),
Note:
See TracChangeset
for help on using the changeset viewer.
