- 博客(7)
- 收藏
- 关注
原创 Python编程:从入门到实践(5-7)
5. If 语句cars = ['audi', 'bmw', 'subaru', 'toyota']for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title())输出:AudiBMWSubaruToyotarequested_topping =
2018-02-06 14:51:00
529
原创 Python编程:从入门到实践(1-4)
1. 起步print("Hello Python interpreter")2. 变量和简单数据类型添加一个名为message的变量,每个变量都存储了一个值--与变量相关联的信息。message = "Hello Python world"print(message)message = "Hello Python Crash Course world"print(m
2018-02-01 16:55:03
546
原创 Memory Management
The kernel must keep track of the current status of each page frame. For instance, it must be able to distinguish the page frames used to contain pages belonging to processes from those that contain k
2018-01-18 14:04:49
315
原创 Interrupt
As the name suggests, interrupt signals provide a way to divert the processor to code outside the normal flow of control. When an interrupt signal arrives, the CPU must stop what it's currently doing
2018-01-15 16:09:31
238
原创 Process Creating/ Switching/ Destroying
The set of data that must be loaded into the registers before the process resume sits execution on the CPU is called thehardware context. The hardware context is a subset of the process execution co
2018-01-12 14:24:49
180
原创 Process
struct task_struct {/* these are hardcoded - don't touch */ volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ unsigned long flags; /* per process flags, defined below */ int sigpend
2018-01-10 14:22:11
178
原创 Memory Addressing
The Page Global Directory includes the addresses of several Page Middle Directories, which in turn include the addresses of several Page Tables. Each Page Table entry points to a page frame. The lin
2018-01-10 11:15:08
234
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人