Home
last modified time | relevance | path

Searched refs:to (Results 1 – 18 of 18) sorted by relevance

/xv6-public/
H A DTRICKS12 %esp and then jumps to trapret, which pops the
20 the first time a process returns to user space, and
21 at that point, cp->tf is set to point to a trap frame
96 We want to make sure that:
101 to memory before the write of lk->locked = 0 in
105 So any reads in B are guaranteed to observe the
108 According to the Intel manual behavior spec, the
118 The code in fork needs to read np->pid before
119 setting np->state to RUNNABLE. The following
120 is not a correct way to do this:
[all …]
H A DLICENSE6 Permission is hereby granted, free of charge, to any person obtaining
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
H A Dentryother.S5 # Each non-boot CPU ("AP") is started up in response to a STARTUP
8 # set to XY00:0000, where XY is an 8-bit value sent with the
11 # Because this code sets DS to zero, it must sit
17 # place to jump to (mpenter) in start-8, and the physical address
33 # Switch from real to protected mode. Use a bootstrap GDT that makes
34 # virtual addresses map directly to physical addresses so that the
H A Ddot-bochsrc127 # You may now load up to 4 optional ROM images. Be sure to use a
148 # You now need to load a VGA ROM BIOS into C0000.
250 # to access the physical drive.
330 # Defaults to disabled=0
341 # to be written to. If you don't use this option or set the filename to
467 # 3=output the raw wave stream to the file
468 # log: The file to write the sb16 emulator messages to.
490 # you must tweak the 'cpu: ips=N' directive to be as close to the number
492 # to be accurate.
604 # If you don't want to make connections to any physical networks,
[all …]
H A Dentry.S2 # the kernel C code, so it can refer to kernel symbols such as main().
3 # The boot block (bootasm.S and bootmain.c) jumps to entry below.
9 # Linux file system by copying kernel or kernelmemfs to /boot
26 # Multiboot header. Data to direct multiboot loader.
H A Dbootasm.S5 # Start the first CPU: switch to 32-bit protected mode, jump into C.
16 xorw %ax,%ax # Set %ax to zero
21 # Physical address line A20 is tied to zero so that the first PCs
39 # Switch from real to protected mode. Use a bootstrap GDT that makes
40 # virtual addresses map directly to physical addresses so that the
H A Dkernel.ld2 See the GNU ld 'info' manual ("info ld") to learn the syntax. */
11 /* Must be equal to KERNLINK */
18 PROVIDE(etext = .); /* Define the 'etext' symbol to this value */
37 /* Adjust the address for the data segment to the next page */
H A DNotes8 to be non-zero length, only really matters for tiny "kernels".
28 e.g. argument to newproc()?
36 need to work correctly as ordinary pointers. the same may be true of
44 users' memory (e.g. to expand it) will wreck any pointers into the
47 do we need to set fs and gs? so user processes can't abuse them?
51 trap() ought to lgdt on return, since currently only done in swtch()
82 do you have to be holding the mutex in order to call wakeup()? yes
89 no-one is allowed to do anything to the inode
91 inode->count counts in-memory pointers to the struct
100 test: one process unlinks a file while another links to it
H A Dsleep1.p9 (You may need to install Spin, available at http://spinroot.com/.)
29 If this is changed to:
39 decrement in consumer, causing value to have a bad value.
42 If it is changed to:
50 then nothing bad happens: it is okay to wakeup after release
H A D.gdbinit.tmpl4 # There doesn't seem to be a good way to detect if we're in 16- or
H A DBUGS2 need to fix PAGEBREAK mechanism
H A Dlog.c183 struct buf *to = bread(log.dev, log.start+tail+1); // log block in write_log() local
185 memmove(to->data, from->data, BSIZE); in write_log()
186 bwrite(to); // write the log in write_log()
188 brelse(to); in write_log()
H A DREADME2 our efforts to the RISC-V version
12 to Peer Communications; ISBN: 1-57398-013-7; 1st edition (June 14,
14 provides pointers to on-line resources for v6.
48 will need to install a cross-compiler gcc suite capable of producing
H A Dtoc.hdr1 The numbers to the left of the file names in the table are sheet numbers.
H A Dtrapasm.S23 # Return falls through to trapret...
H A Dswtch.S7 # Switch stacks to new and pop previously-saved registers.
H A Dgdbutil3 # Utility functions to pretty-print x86 segment/interrupt descriptors.
175 EXPR must evaluate to a descriptor value. It can be of any C type.
281 EXPR must evaluate to an array of descriptors.
H A Drunoff3 echo This script takes a minute to run. Be patient. 1>&2