UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
entryother.S File Reference
#include "asm.h"
#include "memlayout.h"
#include "mmu.h"

Go to the source code of this file.

Functions

code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0 
ljmpl (SEG_KCODE<< 3)
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 ax movw ds movw
es movw ss ax movw fs movw gs
movl eax 
orl (CR4_PSE)
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 ax movw ds movw
es movw ss ax movw fs movw gs
movl eax eax movl cr4 
movl (start-12)
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 ax movw ds movw
es movw ss ax movw fs movw gs
movl eax eax movl cr4 eax movl
cr3 movl eax 
orl (CR0_PE|CR0_PG|CR0_WP)
 

Variables

code16 globl start start
 
code16 globl start ax movw ax
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl 
cr0
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl 
$CR0_PE
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl 
eax
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 
start32
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 ax movw ds movw
es movw ss 
movw
 
code16 globl start ax movw ds
movw es movw ss lgdt gdtdesc
movl eax orl eax movl cr0
start32 code32 ax movw ds movw
es movw ss ax movw fs movw gs
movl 
cr4
 

Function Documentation

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 ljmpl ( SEG_KCODE<<  3)
code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl eax eax movl cr0 movl ( start 12)
code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax orl ( CR4_PSE  )
code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl eax orl ( CR0_PE|CR0_PG CR0_WP)

Variable Documentation

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl $CR0_PE

Definition at line 29 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl eax eax movl cr0 esp call* start ax movw dx outw dx ax outw ax

Definition at line 29 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl cr0

Definition at line 29 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl cr4

Definition at line 44 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl eax eax movl eax

Definition at line 29 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 ax movw ds movw es movw ss ax movw fs movw gs movl eax eax movl cr4 eax movl cr3 movl eax eax movl cr0 esp call* start ax movw dx outw dx movw

Definition at line 44 of file entryother.S.

code16 globl start start

Definition at line 29 of file entryother.S.

code16 globl start ax movw ds movw es movw ss lgdt gdtdesc movl eax orl eax movl cr0 start32 code32 start32

Definition at line 44 of file entryother.S.